[Newbies] Re: How to shorten a method (using inject: into: ?)

Zulq Alam me at zulq.net
Tue Jul 22 17:44:24 UTC 2008

Yes, it's not a good idea to couple your classes with others for 
frivolous reasons. I just wanted to see how tersely it could be 
expressed with #inject:into:.


stan shepherd wrote:

> Is there a style issue with introducing an object type which is not part of
> the problem? Is point often used like this- it's being treated as a
> shorthand form of an array of 2 elements which has some handy methods, is it
> not?

More information about the Beginners mailing list