in reply to I dislike object-oriented programming in general

I'm glad my school does not have an "Everything is made of Java" mindset. There are FP classes here, and we use C as well as C++ (among others), so even our imperative programming is not all object-oriented.

There should be charities for those who have never even glimpsed outside of the box. Adopt-a-Drone, or the Functions are Data Foundation. It's a terrible illness and it destroys their quality of life.

I would use something like the golf ball example as an interview question, especially with students or fresh grads. Can they, even with some prodding, realize that a GolfBall class is unnecessary in that example? If not, I don't really think I want someone with that much of a conceptual mental block working for me.

Replies are listed 'Best First'.
Re^2: I dislike object-oriented programming in general
by Anonymous Monk on Oct 17, 2007 at 05:01 UTC
    But the burning question is what should GolfBall inherit from.

      Ball and SportsEquipment; Ball inherits from Sphere, which inherits from PlatonicSolid, which inherits from...

      It's classes all the way down!