4 ms·
If things could be "consigned to history" by C++ adding more features, there'd hardly be any other languages left! It has all the features. That's its biggest p
by jerf 5y ago
If things could be "consigned to history" by C++ adding more features, there'd hardly be any other languages left! It has all the features. That's its biggest problem.
- logicchains 5y agoNoo, it's missing something basic: struct introspection. Unlike almost every other modern language, it's not possible to write a generic "ToJson" or "ToString" that will work for any struct.
- quietbritishjim 5y agoNot sure whether that's a sarcastic commentary or your just not aware, but C++ will, of course, also get (static) reflection https://en.cppreference.com/w/cpp/keyword/reflexpr https://en.cppreference.com/w/cpp/keyword/reflexpr
- pjmlp 5y agoUsually only C++ gets the blame, but that is only because most don't pay attention to other language's reference manuals and standard libraries. I love to pick on Python for such examples, because it is considered to be the new BASIC, yet when I pick the standard language reference + standard library, the amount of pages outgrows those of ISO C++. Then there is the list of breaking changes that have happened even across minor versions since Python 1.0.