Namespaces?

BlitzMax Forums/BlitzMax Programming/Namespaces?

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.

A namespace is really just a block with its own unique set of variable names that do not affect others, where "x" variable in one namespace can be created even though there is a different "x" variable in another namespace... right?

So, with that in mind, modules in BlitzMax are all their own namespaces, and local / global variables would be in their own namespaces.

I rather dislike the way C# does it, since Namespaces are tacked on via a new keyword even though things like classes (or modules) would do the same job anyway.
In my opinion, a namespace should be left alone as a thing that happens, but not a thing that is explicitly created.
Of course, my dislike is probably founded on a lack of understanding, so feel free to correct me!