News for hackers. Stuff that matters.
Re:Javascript-Style Objects in Python by AnkhMorporkian on Monday March 16, 2015 @02:19PM (#9213223)
Static methods are fantastic. I use them all the time for deserialization. Adding a .from_json() static method to create a new instance makes way more sense to me than putting one outside the class.

There are no comments on this comment yet.