Some Self ideas
bparsia at email.unc.edu
Sat Jan 20 17:08:10 UTC 2001
Just so I don't seem the *complete* fuddy-duddy, let me say that I find
someCollection do: #increment.
someCollectionOfStrings collect: #size.
someCollection do: [:each | each increment].
someCollectionOfStrings collect: [:aString | aString size].
waaaaaaaaaaay more seductive, though I have qualms about them of a similar
nature. I might prefer:
someCollection doToEach: #increment.
someCollection sendToEach: #increment.
someCollectionOfStrings collectFromEach: #size.
More information about the Squeak-dev