Object-Oriented Programming is Bad
13 人推荐 · 跨 9 个月 · 2016–2025

中文导读
Brian Will 旗帜鲜明倡导过程式编程并批判面向对象编程。他结合真实代码案例指出,OOP 承诺的封装与解耦很多时候只是幻象,而在类中强行将数据与行为捆绑往往会带来更多灾难。
为什么 HN 推它
HN 社区反思 OOP 的代表性视频,比绝大多数技术文章更深刻、更直观地讲清了过度抽象的昂贵代价。
「强烈推荐 Brian Will 的这个视频,他把这个问题讲得比我好太多了。」HN 网友原话:I highly recommend this video by Brian Will who does a much better job explaining this problem than I could.
英文原摘要(HackerTube / Claude 整理)
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 returns to it as the go-to critique of OOP, recommended for explaining the costs of abstraction better than most written arguments.
HN 上的提及
Brian Will says that that whole OOP concept is bad
honestly, it rings too close to my experience. Need to think about this a bit more deeply!
I liked Rich Hickeys talk "Simple made Easy" [1] and "Brian Will: Why OOP is Bad" [2]
One of the video that can articulate the whole thing better than me is
I highly recommend this video by Brian Will who does a much better job explaining this problem than I could.