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+++
[ Parent
| on HN ]
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.
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.
> 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.
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".