A DEVELOPER PROVED THAT MOST OF THE CLASSES YOU WRITE SHOULD NEVER HAVE BEEN CLASSES AT ALL
27 minutes from Jack Diederich, a Python core developer, on how much of your code is just a function wearing a costume.
-> The moment it lands, the rule is brutal: if a class has two methods and one is __init__, you meant to write a function.
Most people add structure to feel like real engineers. It just adds weight no one ever needed.
Writing more code was never the skill -> writing less of it is. And when an AI agent happily generates ten classes for a job that needed three lines, the person who knows what to delete is the one who ships something clean.
Anyone can add abstraction. Knowing when not to is the whole job.
Bookmark it and Watch ↓
显示更多