Opinions on object oriented programming

BlitzMax Forums/BlitzMax Programming/Opinions on object oriented programming

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


I remember a story about the Torque engine, where a butterfly model was flying around and landed on a gun, and then picked it up and started hauling it around. This was not by design, it was due to higher-up behaviors in the object hierarchy. That is a good example of OOP gone mad.



That's just funny. I wouldn't say it's gone mad though, simply a case where the butterfly shouldn't be able to weild a weapon. It should be lower on the chain.

Creature
   - WeaponWielder
      - Player
      - Enemy
   - Animal
      - Butterfly


Anyway I vote for a stay of the punishment since this was a funny little anecdote.