HackerTube 中文?

Stop Writing Classes

Next Day VideoYouTube ↗

Archive guide

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 comments

View original on HN ↗