❝HN 片单

Object-Oriented Programming is Bad

Brian Will · 8 位 HN 用户推荐 · 2016–2024

Brian Will 系统批判面向对象编程,指出它带来大量偶然复杂度

  1. There is a very interesting discussion on how to go about doing this in this video [link]
    — userhacker, 2016
  2. If we can all agree about that then we have to ask ourselves if encapsulating data and behavior at the granularity of classes makes the most sense for human comprehension. In naive OO examples (Animal -> Cat) it does. In practice however, it's debatable (at best). I highly recommend this video by Brian Will who does a much better job explaining this problem than I could. [link]
    — ryanmarsh, 2017
  3. Take a look at the following video: [link]
    — crimsonalucard, 2019
  4. I highly recommend "Object Oriented Programming is Bad" and "Object Oriented Programming is Embarrassing" on Youtube. [link]
    — rubyist5eva, 2021
  5. Somewhat relatedly (covers some very similar concerns and IIRC even references "Clean Code"), Brian Wills has a few good videos [link]
    — pentaphobe, 2021
  6. Please watch the video linked in the article. It explains it way better than I ever could in a comment: [link]
    — starbugs, 2023
  7. Brian Will has a very good video explaining this (timestamp is where he talks about encapsulation). [link]
    — cloogshicer, 2023
  8. OOP is an industry of its own which generates a ton of incidental complexity. See "Object-Oriented Programming is Bad" by Brian Wills ( [link] ) and most of Rich Hickey's excellent videos, especially his keynote at Rails Conf 2012 where he basically told the Ruby crowd they're doing it wrong ( [link] ).
    — cutler, 2024

← HN 片单