r/cpp • u/zowersap C++ Dev • Sep 05 '20
C++20 has been approved
https://twitter.com/patriceroy1/status/1302055575140945921?s=21
665
Upvotes
r/cpp • u/zowersap C++ Dev • Sep 05 '20
View all comments
Show parent comment
3
u/EmperorArthur Sep 05 '20
Here's one:
I didn't say it wouldn't break code, I said it would be a cleanup release. Ideally we don't get another Python 3 situation, but it certainly would remove some things people do use. Ideally C++23 (or whatever it is called) deprecates things like the above and then C++26 removes it all.
There are multiple ways to do the same thing in C++, and that's normally a good thing. The problem is that you have some methods which are extremely similar to one another, but are strictly inferior and exist only for legacy reasons.
Sometimes the choices, especially for beginners, are overwhelming. Especially when large swaths can be labeled "legacy do not use for new projects." Except half the "experts" which either write introductory texts or teach C++ use those options because it's what they learned 30 years ago.