Hey Marco and Thaddy,
Whenever someone attempts one of these proposals, it usually finds itself in one of these categories:
- Your tone is rude, not gonna tell you that, I'll just block you in the same tone.
- Too hard to implement.
- Would break a ton of previous code.
- Does not fit with our philosophy of where the language should evolve.
- Something else I'm forgetting.
And I totally understand all of them and the motivations that lead you peeps to respond in such a way. I
do. Believe, you, me!!
If you've been noticing, I try my best to be polite and thank/praise anyone that helps me along the way, and with that in mind, I would deeply appreciate if you guys think I'm falling in any of the above
categories.
Having said that, I don't think a command line switch or some tooling would,
properly, answer my proposal.
And I say that because: Every language I know that has implemented name spaces has also implemented some kind of globbing(
uses MyNameSpace.* ), pick-and-choose(
uses MyNameSpace.[Common, SomeOther] ) or a combination of the two(
uses MyNameSpace.[Common, SomeOther.*] ).
Since I'm no compiler expert, I'm not gonna say that this is easy to add. But from a general programming view, this would just be a slight change to the part of the compiler that searches and tracks the used units. I could be wrong, and I'm sure you'll tell me that, if it's the case.
My ultimate goal is to have an extended name space usage and/or syntax. And, while I'm not sure if this is needed/wanted, I would, at least, like to hear your honest opinion about the usefulness or stupidity of it. Not pointing at a command line switch that Thaddy said would probably incur in name clashes( completely nullifying name spaces ) or sweeping it under the rug of tooling.
In the sincere hope that I'm not being rude, nor am I being completely out of bounds, I re-submit my proposal to be looked at with fresh eyes, according to what I've stated before.
Cheers,
Gus