by wvenable · 17y ago · 0 comments
Why is "::" ambiguous at compile time? It seems to me something is rotten here. C++ using :: for both namespaces and static access of classes. Why didn't PHP go the same way?
I never complain about the choice of operator, I complain about it's need to exist in the first place. :: would have done the job just fine, just as it does in C++, which is where they stole it from in the first place.
Frankly, it's insulting to me that the PHP team doesn't think I have the skills needed to not name my classes after namespace I imported.