5 ms·
> The C++ standards committee can standardize a backwards-incompatible "new" C++ for all I care as long as they don't call it C++. This x2. It's only C++ if yo
by rumanator 7y ago
> The C++ standards committee can standardize a backwards-incompatible "new" C++ for all I care as long as they don't call it C++.
This x2. It's only C++ if you can optionally refactor random lines of code in a project written in compliance with C++98 using new features and still get a valid program.
Once you mess with the language in a way that your C++98 code is either not supported or requires rewrites or redesigns to comply with the new standard then quite obviously it is not C++ anymore.
Semver matters.
- badsectoracula 7y agoUnder semver, they could call it "C++ 2.0" and be fine since according to semver anything with a major version change is free to break backwards compatibility.
- rumanator 7y agoThe hypothetical C++2.0 would have less to do with C++ than C++ would have to do with C, and no one disputes they are entirely separate languages.
- paulryanrogers 7y agoWhile technically true so much of C++'s success is due to backward compatibility that I think the language would be instantly crippled. Java is in a similar situation, which is probably why they market the minor version.
- pjmlp 7y agoJava and C++ have done several breaking changes, although not as bad as Python 3.0. The minor version for Java has stopped being used by Java 9.
- heelix 7y agoOracle calls the 6 month releases a 'major' version.. .but many corporate shops only care about the LTS versions (mostly 8 or 11) which are getting 90 day 'minor' patches. Java 11.0.6 is current till mid April, in which case 11.0.7 should hit. Our shops won't cut over to something beyond Java 11 until Java 17 (LTS version) hits in a few years. Just happy that we were able to make the jump from 8 to 11.
- pjmlp 7y agoIt is still a major improvement being able to be on Java 11. Poor Android Java developers are now faced with being stuck with a pseudo Android Java subset of Java 8, or migrate to Kotlin. While any Java library author that wants to share their work with the Android community is faced with the dilemma of keeping two parallel versions of their library, forget about Android, or also convert themselves to Kotlin as well, even if that isn't their thing.
- badsectoracula 7y agoYes i know, my comment was really a jab at semver as i'm a huge proponent of keeping backwards compatibility.
- sly010 7y ago> So much of C++'s success is due to backward compatibility. You mean so much of C++'s success is due to backward compatibility with C. Edit: Formatting.
- rini17 7y agois (C++)++ okay?
- fourthark 7y agoNo, postfix increment returns an rvalue, so it can’t be applied twice. (jk)
- rini17 7y agoAh of course. So name it instead C+=2
- nikanj 7y agoC# is C with four plus-signs arranged neatly.
- jnellis 7y agoNot to be pedantic but Microsoft already coined a language called C#. How about keep the ++, just spin the C upside down. J++.
- deleted 7y ago[deleted]