• letsgo@lemm.ee
    link
    fedilink
    English
    arrow-up
    45
    ·
    3 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
      4
      ·
      edit-2
      2 days 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
      3
      ·
      2 days 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.