By dotCore
via me.veekun.com
Submitted: Mar 04 2013 / 09:17
Almost a year ago now, Jack Diederich gave a talk entitled “Stop Writing Classes”, in which he implores Python programmers to stop creating classes just for the hell of it, and specifically calls out the common pattern of a class with only a constructor/initializer and a single method—which should, of course, just be a function.
Add your comment