• RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    2 days ago

    Programming in C++ is downright horrifying to me after trying other languages. The way it does generics is fucked up on so many levels…

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.

      Like, its a great learning language precisely because it does force you to think about what’s actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.

      But without a ton of library support, you’re doing so much heavy lifting. And with a bunch of library support… why not just use C#?