Overusage or Underusage of objects.

BlitzMax Forums/BlitzMax Beginners Area/Overusage or Underusage of objects.

while I prefer the OO approach, i think it's important to realize that OOP is not the be-all-end-all.
There always are some situations where a prodecural approach is just easier and/or faster and has less overhead.

I think it's great that bmax offers you the possibility to use both at the same time. So it's really just a matter of what you feel comfortable with. I really wouldnt bother with questions like 'Is this bad programming?". It all comes down to personal peference really.

In the end the only thing that matters is that your game gets done and in the most efficient and fast way possible,so you can get the best possible performance out of it. Whether this is achieved through procedural or OOP design, is entirely dependant on the type of program you are creating.

The only thing you need to watch out for when combining the 2, is that you have a coherent structure to it. Being consistent is the key here, because otherwise you will find yourself in a maze of unfathomable garbage when you read it back in a few weeks. As long as there is a clear structure to your way of doing things, then it really oughta be ok.