Class methods do make sense, if their coding is related to the class itself, but not to a special object of this class. And there are many cases, where an object creation is an overkill I. e. for a simple field conversion.
↧
Class methods do make sense, if their coding is related to the class itself, but not to a special object of this class. And there are many cases, where an object creation is an overkill I. e. for a simple field conversion.