Arguments and Results (1997) by James Noble (http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.50.7565) 2009/8/19 Alexandre Bergel <alexandre@bergel.eu>:
Dear List,
Consider the following method: -=-=-=-=-=-=-=-=-=-=-=-= AClass>>aMethod     ^ self compute         ifTrue: [ #aSelector ]         ifFalse: [ false ] -=-=-=-=-=-=-=-=-=-=-=-= I read somewhere that having a method that may return different type of values is not of a good style. I first through it was in Kent's book, but I cannot find it. Is there a book that talk about this coding style?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project