Because the Collections are smart.
Here is how Martin Fowler explains it in CollectionClosureMethod
And Matz slides at OSCON2005
Actually there are more points to it (how you can mold the language, to represent your domain)
(7.hours, meme.to_yaml, etc)
But the internal iterator + closures are very powerfull.
Tuesday, October 11, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment