3 ms·
Enumerable should read as 'iterator' and Smalltalk provides for and while loops (though implemented differently) because they're useful. The chaining isn't act
by omouse 17y ago
Enumerable should read as 'iterator' and Smalltalk provides for and while loops (though implemented differently) because they're useful.
The chaining isn't actually chaining. He really should know what the evaluation order is. This is why it would be nice for people to read SICP, it has a section on it: http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_Temp_22 http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html...
It would be much easier to learn Smalltalk than to deal with Ruby's weird syntax shit and it's blocks/procs crap.
- lonestar 17y agoI don't understand your point about chaining and evaluation order. The example in the article is straightforward method chaining. Can you explain what you mean?