Some Self ideas

Bijan Parsia 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
the

	someCollection do: #increment.
or
	someCollectionOfStrings collect: #size.

tropes for
	someCollection do: [:each | each increment].

and
	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.

and

	someCollectionOfStrings collectFromEach: #size.

So, <shrug/>

Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list