All C++20 core language features with examples
I&#x27;m probably going to make a few enemies with this opinion, but I think modern C++ is just an utterly broken mess of a language. They should have just stopped extending it after C++11.<p>When I look at C++14 and later I can&#x27;t help but throw my hands up, laugh and think who, except for a small circle of language academics, actually believes that all this new template crap syntax actually helps developers?<p>Personally I judge code quality by a) Functionality (does it work, is it safe?), b) Readability c) Conciseness d) Performance and e) Extendibility, in this order, and I don&#x27;t see how these new features in reality help move any of these meaningfully in the right direction.<p>I know the intentions are good, and the argument is that &quot;it&#x27;s intended for library developers&quot; but how much of a percentage is that vs. just regular app&#x2F;backend devs? In reality what&#x27;s going to happen is that inside every organization a group of developers with good intentions, a lack of experience and too much time will learn it all and then feel the urge to now &quot;put their new knowledge to improve the codebase&quot;, which generally just puts everyone else in pain and accomplishes exactly nothing.<p>Meanwhile it&#x27;s 2021 and C++ coders are still<p>- Waiting for Cross-Platform standardized SIMD vector datatypes<p>- Using nonstandard extensions, libraries or home-baked solutions to run computations in parallel on many cores or on different processors than the CPU<p>- Debugging cross-platform code using couts, cerrs and printfs<p>- Forced to use boost for even quite elementary operations on std::strings.<p>Yes, some of these things are hard to fix and require collaboration among real people and real companies. And yes, it&#x27;s a lot easier to bury your head in the soft academic sand and come up with some new interesting toy feature. It&#x27;s like the committee has given up.<p>Started coding C++ when I was 14 -- 22 years ago.