Stop Writing Classes
Next Day Video在 YouTube 播放 ↗
档案导读
Jack Diederich's PyCon 2012 talk argues that classes are overused in Python and walks through real code, refactoring away unnecessary classes, exceptions and modules. It popularized the heuristic that a class with two methods, one being __init__, should be a function.
档案英文原文 · 来自 HackerTube 开放档案,暂未收录字幕分析。