Re:The GitHub Styleguide
by martingordon on Friday April 06, 2012 @12:08AM
(#3805958)
I would argue against using "class << self" especially when you have many singleton methods. If the class is large enough, it's easy to miss the "class << self" and incorrectly read a class method as an instance method.
[ Parent
| on HN ]
Re:The GitHub Styleguide
by arthurschreiber on Friday April 06, 2012 @06:25AM
(#3806603)
Usually you will have another level of indentation, so class methods shouldn't be that easy to mistake for instance methods.