• Haus@kbin.social
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    9 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
      ·
      9 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’.

      • Adanisi
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Yeah wtf is up with the overridden bitshifts? Was Stroustroup drunk?

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          9 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.