On Mon, Nov 9, 2009 at 15:03, Quentin Mathé <qma...@gmail.com> wrote: > MPW borrows most of its terminology from Smalltalk, so I suppose > that's why it uses -reject as -select inverse operation. I find a bit > hard to remember that -reject is the inverse operation that > corresponds to -select though.
Why, doesn't it sound similar ? > aCollection filterWithBlock: [:each | each age > 16] // Étoilé generic > idiom > aCollection filter age > 16 // Étoilé generic HOM idiom > aCollection select: [:each | each age > 16] // Smalltalk-specific idiom > > yes -filteredOutCollection. > >> Maybe we should >> really leave this for a native speaker to decide... > > Fully agreed. Is there a native speaker to comment on that? :-) I'm not one, but. "filtering out" feels like programmer jargon, from pipes+filters, functional programming, etc select, reject, collect are approximate general english: select those elements in here that are such and such vs filter out this collection according to this block… (and does the block say what should got through the filter, or what should be gathered by it?) -- Damien Pollet type less, do more [ | ] http://people.untyped.org/damien.pollet _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev