On 2 Dec 2008, at 22:31, Mark Wilden wrote:
Here's what The Ruby Programming Language says about this:
"In general, it is clearer to define class methods as individual
singleton methods without explicitly opening the eigenclass" (p. 258)
This is far from a blanket condemnation, and, as with the rest of
the book, it's not obvious whether it's Matz or (non-Rubyist)
Flanagan who's talking.
I don't mean to "open" the discussion again. :)
Thanks for following up Mark.
I suggest that if there's any life left in this thread, it staggers
over here for a few more rounds:
http://blog.mattwynne.net/2008/12/01/in-defence-of-class/
Matt Wynne
http://blog.mattwynne.net
http://www.songkick.com
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users