Object>>caseOf: (was Re: [Q] Enum style Object?)
Ned Konz
ned at bike-nomad.com
Wed Feb 19 18:14:35 UTC 2003
On Wednesday 19 February 2003 01:54 am, Hannes Hirzel wrote:
> But I'm not sure if this is better than the code snippet above. At
> least it is rare style.
> I didn't even know that Object>>caseOf: exists!
> In my current 'productive' 3.5alpha image there are only three
> senders of this method:
> two in MessageNode and one in MethodFinder.
>
> Smalltalk teachers and traditionalists out there - what do you
> think?
I like it. I use it. It produces good code.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|