News for hackers. Stuff that matters.
Re:Method chaining and lazy evaluation in Ruby by JoelMcCracken on Monday November 28, 2011 @02:21PM (#3287180)
It seems obvious to me that this would be how to implement this. When I read his initial code, I immediately wondered why he wasn't returning self.

Maybe this familiarity comes with having spent enough time reading through the jQuery internals. Speaking of which, if you like this article, the classic "10 things I learned from the jQuery source" is great reading:

http://paulirish.com/2010/10-things-i-learned-from-the-jquer...

There are no comments on this comment yet.