[Newbies] Should all methods return a value?

stéphane ducasse ducasse at iam.unibe.ch
Wed May 10 09:04:52 UTC 2006


What is also nice is to explicitly state that a method return self

even thought

foo

	blblbl

is returning self

writing

foo
	blblbl.
	^ self

Is a really nice to indicate to our reader that the self is important  
in that case.

This is why I would like change yourself implementation to do exactly  
that :)

Stef


More information about the Beginners mailing list