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!
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!