2008/5/8 Igor Stasenko <
siguctua@...>:
> Btw, no one disallow you from doing following:
>
> MyStrictClass>>new
> self isInDevelopmentMode ifTrue: [self checkConstructor].
> ^ super new
>
> so, it will cost you 1 extra send in deployed mode :)
>
Sorry for repost,
this example actually shows that developer can easily enforce own
(arbitrary) coding discipline, but without the need in changing
anything in language.
--
Best regards,
Igor Stasenko AKA sig.