← Back to context

Comment by Chris_Newton

2 years ago

A big, big tool for that, is OOP inheritance, which is considered "bad coder" signal, these days.

Is it? I’d agree that there’s increasing awareness of the limitations of OOP, and I’d agree that using inheritance excessively can be one of the limiting factors, but I don’t think I’ve ever personally seen anyone criticised or penalised for using inheritance appropriately.

Just using OOP is considered bad. There is no "appropriate" way to use OOP. I see people being criticized for that, all the time.

I have run into folks that don't understand polymorphism. It seems that it is not even being taught.

Old Boomer Yells at Sky

  • I've done a lot of OoP and my opinion these days is that if the reader needs to understand polymorphism properly to understand your inheritance, it's too complex.

    (Exceptions exist, of course, like libraries inherently dealing with reflection)

    • Well, to each their own. I like to understand everything I do, at a very deep level, and I really enjoy learning that kind of stuff. I started as an EE, so my understanding sinks down into the FET junction. My first software was machine code, so it’s been a long, strange trip.

      One thing that geeks love doing, is telling other geeks they are bad at what they do. It gets a bit grating, but I’ve come to the realization that I need be true to myself, because it’s a losing proposition, hanging my self-respect on the opinions of others.

      I do what I do, and get the results I get. I don’t spend much time, worrying about how I compare to others.

      One of the benefits of working at the direction of my own muse.

      2 replies →