you are viewing a single comment's thread
view the rest of the comments
[–] 19 points 5 days ago (5 children)

C++ has become more and more unhinged as it tries to warp itself into a language with every possible feature. I was forced to get up to date with C++20 at work for awhile and it's miserable.

The article mentions how much C++ runs modern software, and I won't argue that point, but I really wonder how many of those key pieces of software, browsers, game engines, web servers etc. are still basically C++03 codebases.

  • source
  • hideshow 5 child comments
  • [–] 7 points 5 days ago

    First language I learned was C++. It was tough, but I thought that was how programming had to be. Then I learned a few other languages and later watched a video about how needlessly insane C++ is. I now accept that it’s overly complex, unintuitive, and offers too many ways to do the same thing.

  • source
  • parent
  • [–] 4 points 5 days ago (1 child)

    I really like a bunch of [C++14 through] C++20 features, like const if and other features to reduce the need for preprocessor commands. Also for-each style for loops are great.

    What stuff is making you miserable?

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 4 points 5 days ago (1 child)

    I was forced to get up to date with C++20 at work for awhile and it’s miserable.

    Wait, are there companies where actually using most new features is required ?

    I could imagine that to work only if the org defines a subset of the language which people should adhere to. Like Google did.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 5 days ago

    I am a firmware level guy, so my work is in C/assembly, but for a while I was tasked with enabling a new framework to run some of our low level diags. Most of that work was in a Linux kernel module (still C obviously) but I also had to do the higher level interface and, yeah, the people that started the new framework did it in C++17 and then 20 by the time I got involved.

    I don't think there was a subset per se, but like any biggish codebase there were idiomatic ways of doing everything.

    Ironically, the new framework is now almost 10 years old and the framework it was meant to replace (which is dogshit C++03) is still puttering around with a skeleton crew of maintainers.

  • source
  • parent