Aug. 19, 2009
6:29 p.m.
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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.