> > PerformedExperiment class >> > for: anExperiment > startedAt: aStartTime > stopedAt: aStopTime > madeBy: aParticipant > with: aCollectionOfTasks. > | instance | > instance := self new. > instance > initializeFor: anExperiment > startedAt: aStartTime > stopedAt: aStopTime > madeBy: aParticipant > with: aCollectionOfTasks. > ^ instance >
I don't really like this way of formatting the message with line breaks. I agree on Inline Message Pattern in Kent Beck's Smalltalk Best Practice Patterns. There's the draft here http://stephane.ducasse.free.fr/FreeBooks/BestSmalltalkPractices/Draft-Smalltalk%20Best%20Practice%20Patterns%20Kent%20Beck.pdf Look at p.127 / 128 Cheers, Laurent
_______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
