• letsgo@lemm.ee
    link
    fedilink
    English
    arrow-up
    34
    ·
    2 days ago

    I find the easiest way to forget C++ is to try watching CppCon on YouTube.

    I’ve been doing C++ professionally since 1991.

    But when I watch CppCon, what the hell are they gabbling on about? It’s all complete gobbledegook! They may as well be speaking in an ancient Goa’uld dialect for all the sense it makes. These people are so far down a rabbithole I start to wonder if they’ve ever seen the surface.

    I am therefore forced to the conclusion that despite 34 years of experience in C++ I don’t know C++.

    • gadfly1999@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      21 hours ago

      I work with Qt and that framework has preferences for avoiding a lot of modern C++. I generally agree that it makes better code.

      Also, I started with C++ in like 1992 and some part of me still feels like templates are newfangled nonsense.

    • collapse_already@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      So glad I am not the only one. It doesn’t help that I work on various projects, some of which use really old compilers. Tried using make_shared the other day and the compiler was not having any of it. Triple checked my syntax and spelling three times before realizing that the compiler was too old to support it.

    • Jankatarch@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 day ago

      Any technique is bad if you force the programmer to use only that.

      I like C++ and python over java there. I don’t need to make a public static singleton class called “IsEven.”

      • Redkey@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 days ago

        I don’t think that even C++ is that bad. Like a lot of shows and music acts, I think it’s more the toxic fan base than the thing itself that really sucks. I’ve had the same feeling with a certain kind of JavaScript programmer.

        *Edit for clarity: I’m not saying that the entire C++ community is toxic, just a vocal segment of it, in line with the other examples I gave.

        The added difficulty with this in programming is that it can be much harder simply to ignore them, because you may be forced to work with them, or stuck needing to learn something from them (shudder).