Object-Oriented Programming is Bad
Brian Will · 13 则 HN 推荐
视频问答
可以让 AI 解释当前片段,或总结整部视频。如果回答附有时间戳,点击即可跳到对应片段。
试着问:这里讲的是什么意思?
需要用 Google 登录。确认前可查看最多会扣除多少积分。
Brian Will makes the case for procedural programming over object-oriented programming, arguing that OOP's promised encapsulation and decoupling are largely illusory. He analyzes real code examples and the problems of tying data to behavior in classes.
HN 推荐的原因: HN returns to it as the go-to critique of OOP, recommended for explaining the costs of abstraction better than most written arguments.
“I highly recommend this video by Brian Will who does a much better job explaining this problem than I could.” 阅读 HN 讨论 ↗