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.

I'm guilty of literally placing everything in a type. Types provides a small amount of encapsulation. I also avoid globals by passing the values from function to function directly. However, it makes for really huge Function Argument List.