>From: Ron Jeffries <[EMAIL PROTECTED]>
>Subject: Re: Re: Yet Another Article ...
>
>On Monday, December 27, 2004, at 11:13:37 AM, aacockburn wrote:
>
>
> > Here's my beef with inject:into: ...
>
> > ^ collection inject: 0 into: [ :sum :each | sum + each ]
>
> > absolutely does not convey to me in the slightest that this code is
> > summing the values in the collection.
>
>Darn good point. It's hard to disagree. I suppose it's similar to
>many uses of the ternary thing in C, ?: . In some usages, it's
>clear, and in the rest, probably worth avoiding or at least
>covering.

You mean like this one?

http://sourceforge.net/forum/forum.php?thread_id=1031542&forum_id=195199






To Post a message, send it to:   [EMAIL PROTECTED]

To Unsubscribe, send a blank message to: [EMAIL PROTECTED]

ad-free courtesy of objectmentor.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/extremeprogramming/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to