'self error: ..' considered harmful?

Cees De Groot cdegroot at gmail.com
Sun Nov 6 23:02:57 UTC 2005


On 11/6/05, Andrew Greenberg <werdna at mucow.com> wrote:
> In view of the ubiquitousness of the call, does it make more sense to
> rewrite #error to reflect the behavior you would prefer?

I'm not going to be deterred by that.

After all, there are 750-or-so references to Smalltalk, and lots of
them need to go as well (replaced by 'self environment' or similar) ;)

Anyway, how would you rewrite #error: to throw the exception the
sender meant to throw, but didn't?



More information about the Squeak-dev mailing list