• As someone without C++ experience who occasionally reads blog posts from the community, I’ve always been put off of learning it by seeing these kinds of issues. I think someone else put it as ‘in C++, code that looks idiomatic is not idiomatic’.

    Having to const-qualify as opposed to being immutable by default, order-dependent headers, the footgun with pre- vs post-fix operators (I had no idea about that one until reading this post).

    I recently saw a comparison of C++ vs Rust which promoted C++'s “fine control of compilation” or somesuch, but from what I’ve heard from C++ programmers this is a feature they’d rather not deal with in almost all cases.


    score 1 · canonical