Programming style, avoiding globals.

Blitz3D Forums/Blitz3D Programming/Programming style, avoiding globals.

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.

Some OOP related languages use registers for locals which makes them VERY fast compared to globals. The other suggestion is each unit should be self contained so having 'global globals' makes them less portable.
(Think : I might have been reading too much OOP stuff for Bmx)