3 ms·
"Drop one of x++ or ++x. C++ programmers generally prefer the prefix forms, but everyone else generally prefers the postfix forms. Dropping either one would be
by ChrisLTD 11y ago
"Drop one of x++ or ++x. C++ programmers generally prefer the prefix forms, but everyone else generally prefers the postfix forms. Dropping either one would be a significant deviation from C."
Funny given the name of the language.
- warmwaffles 11y agoC++ is not even a good increment of C. Yes it had a lot of inspiration from C, but in all seriousness, it should not have been called C++ since it is not backwards compatible with C without some serious work. Honestly longest running ironic language name.
- richardwhiuk 11y agoSorry, the lifetime winner of that award is JavaScript.
- clord 11y agoActually it's a good name. C got incremented, and we keep original C locally while some weird side effects no one really wanted keeps happening in committee until the end of time.