In smalltalk's dynamic typing aproach, do you think it's a good
practice to throw errors when the user try to use incompatible types?<br>
<br>
For example:<br>
<br>
- I create a class 'Mock' to mock general objects;<br>
- I create a class 'EntityMock' that is a Mock, but just to mock
Entities, once entities use doesNotUnderstand to resolve some of it's
methods;<br>
<br>
So, if the user create a EntityMock with any other object than an entity should the system warn him?<br>
<br>
[]'s Kalecser<br clear="all"><br>-- <br>Tis the business of little minds to shrink, <br>but he whose heart is firm, and whose conscience approves his conduct,<br> will pursue his principles unto death.<br>Thomas Paine