News for hackers. Stuff that matters.
Re:Comparisons in C++20 by notmuchserious on Sunday July 28, 2019 @11:09PM (#20551240)
A brand new language without backward compatibility would be nice. C+++
Re:Comparisons in C++20 by wyldfire on Sunday July 28, 2019 @11:14PM (#20551260)
Rust and D are pretty close to just that IMO.

BTW the new language standards do make backwards incompatible changes. C++17, for example, deletes several features which were deprecated.

And [1] is an egregious example.

[1] https://stackoverflow.com/a/620402/489590

Re:Comparisons in C++20 by de_watcher on Monday July 29, 2019 @02:48AM (#20552050)
The whole point is to have backwards compatibility. It's just fascinating how they add or fix things without breaking the code.

Doing without backwards compatibility is easy: take Rust or D.

Re:Comparisons in C++20 by Crinus on Monday July 29, 2019 @08:32AM (#20553861)
> It's just fascinating how they add or fix things without breaking the code.

In the same way it is fascinating to watch a forest fire from afar.

Re:Comparisons in C++20 by de_watcher on Tuesday July 30, 2019 @04:27AM (#20563052)
This hostility is tiring.

The ability to avoid rewriting is a practical thing.

Re:Comparisons in C++20 by ThePadawan on Monday July 29, 2019 @02:06AM (#20551867)
Just in case you didn't know, the "adding +" part of your idea is what inspired the naming of C#. If you look at the #, it is supposed to represent two columns of two + each.
Re:Comparisons in C++20 by ziotom78 on Monday July 29, 2019 @06:05AM (#20553008)
Nice! I never thought about this. I believed part of the reason they chose "C#" is because of musical terminology: "C#" means C-sharp, which is on a higher pitch than a plain "C".
Re:Comparisons in C++20 by gpderetta on Monday July 29, 2019 @08:16AM (#20553715)
You are correct I think, but the play on double plus was also considered.