面向对象编程很糟糕
原名:Object-Oriented Programming is Bad
关于这个视频
Brian Will 论证了过程式编程优于面向对象编程的观点,他认为 OOP 所承诺的封装和解耦在很大程度上是虚幻的。他分析了真实的代码示例以及将数据与类中的行为联系起来的问题。
HN 为什么推荐它:HN 再次将其作为对 OOP 的首选批评,推荐它比大多数书面论证更好地解释抽象的成本。
“我强烈推荐 Brian Will 的这段视频,他比我更好地解释了这个问题。”— HN 评论 · 2017 · 原文
查看英文原文
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.
Why HN likes it: 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 提及 20 次推荐者 13 人首次 2016最近 2025质量分 10.0
原视频频道:Brian Will · YouTube 263 万次观看
评论进阶常青OOP过程式编程封装软件设计布莱恩·威尔













