HackerTube English?

Stop Writing Classes

Next Day VideoYouTube ↗

档案导读

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.

Hacker News 评论

查看 HN 原评论 ↗