News for hackers. Stuff that matters.
Re:Unholy: _why's Ruby to Python compiler by Ingaz on Thursday March 17, 2011 @05:40PM (#2338239)
Class methods are not so useful in python as in java and C#.

I think that classmethods was added only for java/C# folks.

In fact it's always better just to combine defs in module and use it as module.method.

I like the approach in Scala with "objects" (Scala-singletones).

About "self": I don't understand you. Can you show me a language with optional (not forced) OOP, that lets you bloody patch objects and classes that deals with this problem in better way?

There are no comments on this comment yet.