Declare as local, really needed?

BlitzMax Forums/BlitzMax Programming/Declare as local, really needed?

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.

It's good practice to have as many variables local as possible. That will give better code-reusability, and it's essential for blackboxing. In the true coders Utopia, there are barely any globals.. ^_^