6 ms·
I genuinely don't understand C++ direction, where it goes? C++ does change too much, language (specifically in this level,python is okay to change) aren't supp
by 0xFFC 11y ago
I genuinely don't understand C++ direction, where it goes?
C++ does change too much, language (specifically in this level,python is okay to change) aren't suppose to be stable as much as possible ?
every 2,3 year they literally add new language to existing C++.
What decision should existing library take?
rewriting whole library? rewriting critical part ?
in these case almost all of developers time should be devoted on rewriting existing C++ code.
look at C. They don't add shitpile of feature to the standard every 2,3 years.The may fix some criteria.But it does not even count in compare with what C++ committee doing.
p.s. one of my friends in college used to joke about C++. He calls C++ : "feature adding contest".
- fsloth 11y ago"What decision should existing library take? rewriting whole library? rewriting critical part ? in these case almost all of developers time should be devoted on rewriting existing C++ code." Why on earth would you rewrite existing code just because the language gains new features? Old code is not going to magically decompose - that's one of the benefits of C++ - you can continue to use the old battletested codebases while utilizing the nice features of C++11 and onwards. "p.s. one of my friends in college used to joke about C++. He calls C++ : "feature adding contest"." Adding the capability to utilize more degrees of freedom into a system does not mean one is compulsed to use all of those. One of the pitfalls of C++ is that people imagine they must write "idiomatic" C++ - which they understand is that they must use every language feature available. Which is idiotic. The only good C++ is pragmatic C++ - which depends on the problem one is going to solve.
- 8note 11y agoi'd say the old code decomposes when people forget how to code well with the older features. not sure if that will happen, but it might
- danieldk 11y agoC++ does change too much, language (specifically in this level,python is okay to change) aren't suppose to be stable as much as possible ? every 2,3 year they literally add new language to existing C++. Well, before people were complaining that C++ didn't change enough. The core language did not really change from 1998 to 2011 and that was showing. That said, I cannot really see what the complaint is about, since you can still program in C++ as if it's C++98 or C++03. (I share most common critiques of C++ and think Rust is probably its replacement. However, it's a fact of life that there are major C++ codebases out in the wild and there will be for the next 50 or 100 years. So, it makes sense to evolve the language for such projects.)
- easytiger 11y ago> before people were complaining that C++ didn't change enough Mostly people who didn't use it.
- deleted 11y ago[deleted]
- AnimalMuppet 11y agoOn the contrary. It was precisely the people who did use it, and knew that what they wanted it to do would be so much easier if it just had reference-counted pointers... or move semantics... or...