4 ms·
I much prefer having separate operators for namespace/module qualification and member access. These things seem like they have something in common, but in pract
by int_19h 8y ago
I much prefer having separate operators for namespace/module qualification and member access. These things seem like they have something in common, but in practice, IMO, the languages that separate them are much cleaner.
Whether :: specifically is the best choice of such an operator is another question. But there aren't exactly many options left, and this one is firmly established by now, even outside of C++.
- blattimwind 8y agoPHP was changed last minute to use \ which in my opinion is a way worse choice.
- int_19h 8y agoThat was a horrible choice if only because \ is already well-established for escape sequences (including in PHP itself).