

Although for some people the pace is slow, for others it’s hard to keep up with the changes. and there will always be something to complain.Īs usual, we might have two contradicting opinions here. It looks like some features are slower to accept…. They might appear in C++23 or even later. Now, in 2020, we have C++20 ready, and those significant features are shipping with compilers! Yet, we can complain that contracts are not present, reflection, executors or networking is still being discussed. While it’s great, that we get a new standard every three years, a lot of developers complained that the new version is not what everyone waited for.Ī lot of features: like concepts, modules, ranges, co-routines, … were not accepted and we need to wait at least three more years to get them in the spec. I am a developer and just started learning C++, and I’m LOVING it! Programs feel real for the first time! : cppįirst, let’s see some problems that you might bump into in C++. : cppīut to have a balance and something positive, there’s also a discussion like this one: Reading this sub for an hour has made me crazy.r/programming, Modern C++ Features – decltype and std::declval.Why I don’t spend time with Modern C++ anymore | Hacker News.Now, only a handful of people truly understand all facets of C++ value categories. r/programming, lvalues and rvalues used to be simple things.This post was motivated by some stories recently found:: But is this so terrible? What can you do about the whole situation? You can complain about added complexity and that it’s hard to learn all of those things. It looks like C++17 is almost ~80% ‘larger’ than C++98/03, and the latest draft of C++ has nearly 1000 pages more than C++03.

Here’s the full data about the page count in the specs that I’ve mentioned before: Modern C++ adds even more stuff to the package! As I’ve found, there’s even a whole Wiki page about the criticism of Cpp.

You probably know that C++ is a complex language.

Have a look at my blog post with all C++17 features, it shows 48 items, and my C++20 reference card lists 47 elements!ĭo you need to learn all of that stuff to write good code? Last resort: your old code will still compile!Ĭ++ grows very fast! For example, the number of pages of the C++ standard went from 879 pages for C++98/03 to 1834 for C++20! Nearly 1000 pages! What’s more, with each revision of C++, we get several dozens of new features.Too many details? Just don’t open the hood.Stay positive, the language is evolving.
