News for hackers. Stuff that matters.
Re:OO in Python is mostly pointless by ashtonkem on Thursday January 28, 2021 @12:07AM (#25938438)
You’re missing the selection bias at work here. The issue is that good OO doesn’t get you upvoted in programmer related forums like HN because it’s not terribly popular. Instead what does get upvoted is arguments against OO, and these often contain a lot of bad OO code as counter-examples.
Re:OO in Python is mostly pointless by kelnos on Thursday January 28, 2021 @03:12AM (#25939443)
And yet a lot of this so-called "bad OO" is representative of most of the OO I see written. If something that is bad is the norm, that says something about the paradigm itself, as well.
Re:OO in Python is mostly pointless by krageon on Thursday January 28, 2021 @06:12AM (#25940536)
Bad code is the norm (regardless of paradigm), because it's a profitable industry that rewards entry but not necessarily skill. It's not really a failing of the paradigm that it's applied wrong when that is the norm in all aspects of the practice.
Re:OO in Python is mostly pointless by ashtonkem on Thursday January 28, 2021 @10:15AM (#25943014)
That is not my experience. I see a lot of boring, working, OO code. Nothing that I’d excitedly put on the front of HN as an example of anything, but code that’s reasonably easy to read, and just works day in and day out.