Closed mraaroncruz closed 7 years ago
Class methods are great for factories but besides that they can be harmful. Especially when all of the domain logic lives in the class. http://blog.codeclimate.com/blog/2012/11/14/why-ruby-class-methods-resist-refactoring/
Class methods are great for factories but besides that they can be harmful. Especially when all of the domain logic lives in the class. http://blog.codeclimate.com/blog/2012/11/14/why-ruby-class-methods-resist-refactoring/