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

Randal L. Schwartz merlyn at stonehenge.com
Tue Jul 22 18:05:57 UTC 2008


>>>>> "Zulq" == Zulq Alam <me at zulq.net> writes:

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

And now I hope you see why I say that #inject:into: is both overutilized
and underutilized. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion


More information about the Beginners mailing list