• Narwhalrus@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      27 days ago

      Typically, I can read an “average” open source programmers code. One of the issues I have with C++ is the standard library source seems to be completely incomprehensible.

      I recently started learning rust, and the idea of being able to look at the standard library source to understand something without having to travel through 10 layers of abstraction was incredible to me.

      • magic_lobster_party@kbin.run
        link
        fedilink
        arrow-up
        5
        ·
        27 days ago

        I wonder what went into their minds when they decided on coding conventions for C++ standard library. Like, what’s up with that weird ass indentation scheme?

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      27 days ago

      You can absolutely read my code. The ability (similar to functional languages) to override operators like crazy can create extremely expressive code - making everything an operator is another noob trap… but using the feature sparingly is extremely powerful.