Organizing code

Blitz3D Forums/Blitz3D Programming/Organizing code

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.

Especially when you are writing libraries, as multiple people will be using it so optimisation makes even more of an effect. For the main program, or most games, yes, it is most likely pointless, but it's still advisable.


Actually, that's a perfect example, for me, of when optimization can be bad. If I'm using a 3rd party library, I want it readable so I can see what's going on. If it's optimized up the wazoo for an imperceptible speed increase, and I can see what's going on, that's no help.

Optmisation is good, but like John said earlier, optimize where it's going to make a difference.