• Haus@kbin.social
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    8 months ago

    My experience in going from C to C++ was different: if you’re not converting everything from mallocs with custom addressing systems to the collections framework, you’re not living.

    • Jajcus@kbin.social
      link
      fedilink
      arrow-up
      10
      ·
      8 months ago

      My experience with C++ was when C++ was a relatively new thing. Practically the only notable feature provided by the standard library, was that unholy abuse of bit shift operators for I/O. No standard collections or any other data types.

      And every compiler would consider something else a valid C++ code or interpret the same code differently.

      I am little bit prejudiced since then… and that is probably where the author is coming from too.

      Then things were just getting more complicated (templates and other new syntax quirks), to fill the holes in attempts to make C a ‘high level language’.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          7 months ago

          It’s a syntax sugaring and it reads pretty well in my eyes - it’s really obvious what is meant by that syntax.