C++ needs to modernize its legacy #include mechanism to be really a new language
codergears.com
codergears.com
What C++ has allowed us to do is slowly (sometimes wholesale), add the new stuff to old code or just write new code that doesn't suck as much.
You could have deprecated :
- #includes and have a decent mechanism
- std::pair when you introduce std::tuple
- perhaps new when you have make_shared and make_unique
- etc etc.
There's also a gentle push towards the more recent solutions as at one point compiler vendors will not maintain these flags forever because it's no longer part of the language.
I think C++ is very pragmatic in the way it has been done so far, but I am not looking forward to the new __* keywords for resumable functions. I think it's fair to steal the "await" and "yield" keywords back from programmers so my eyes don't bleed. I've already been conditioned to treat __whatever as a platform-specific thing to avoid in my code.