Simulator design question

Ned Konz ned at bike-nomad.com
Fri Sep 7 16:31:18 UTC 2001


On Friday 07 September 2001 03:46 am, Leandro Caniglia wrote:
> Ned Konz <ned at bike-nomad.com> wrote:
> > Node class>>named: anID
> >     Nodes at: anID ifAbsent: [].
>
> and don't forget to return the answer
> (include the uparrow ;-)
>
> Node class>>named: anID
> 	^ Nodes at: anID ifAbsent: [].

I think this is my favorite Smalltalk mistake... Another argument for "test 
first" programming/design.

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com




More information about the Squeak-dev mailing list