Gosub or functions?

Blitz3D Forums/Blitz3D Beginners Area/Gosub or functions?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Interesting but you are hardly going to have a million gosubs or function calls per frame so the difference in performance in a game will be negligable.

Functions allow you to structure your code making it easier to debug and understand, for these reasons I've not used a gosub ever in Blitz...or any other language I can think of that has functions.

Gosub is one of those commands that should be banished from any programming language, along with its partner in crime goto =)