Object-Oriented Programming is Bad
推荐理由
I highly recommend this video by Brian Will who does a much better job explaining this problem than I could.
强烈推荐ryanmarsh · 原文
说明
这是2016年由Brian Will发布的一部评论,主题归在Software architecture & design。它讲的是critique of object-oriented programming这一支里的具体问题,而不是把整个领域扫一遍。适合已经能看懂基本术语、想继续往下走的人。内容上可以概括成: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.讲法不绑某一条新闻,过几年仍然可以当材料看。从2016年到2025年,有13位不同的读者在9个不同月份把它推荐出来,其中明确叫别人去看的有2次。适合已经知道原事件、想听一种解读的人。把它当成观点,而不是教科书。如果已经会了基本定义,就把注意力放在它怎么把critique of object-oriented programming变成能跟着复述的例子。
视频信息
- 频道
- Brian Will
- 时长
- 44 分 35 秒
- 发布年份
- 2016