注册并分享邀请链接,可获得视频播放与邀请奖励。

slash1s (@slash1sol) “A DEVELOPER PROVED THAT MOST OF THE CLASSES YOU WRITE SHOULD NEVER HAVE BEEN CLA” — TopicDigg

slash1s 的个人资料封面
slash1s 的头像
slash1s
@slash1sol
smoke cigs and post about coding, ai, crypto, trading, prediction markets..
加入 October 2021
300 正在关注    8.4K 粉丝
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 ↓
显示更多
0
30
244
29
转发到社区