• Masterkraft0r@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    I’m aware. I write C++17 and I try to be informed what the best praticed are for whatever version of whatever language I’m writing at the moment. But that’s actually a reason to not like C++. It’s painfully backwards compatible and what was good pratice isn’t anymore because now there’s a better one, but that better pratice isn’t in anyway enforced because of backwards compatibility. And also I don’t like templates, generics are superior to me, but that’s a me thing.

    • fkn@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      10 months ago

      I too used to think generics were superior until I learned parameter packs, type traits and SFINAE.