• Rednax@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    23 hours ago

    Do you mean that programming languages are hard to read/write, or that the languages themselves are poorly designed?

    In the former case, I invite you to read machine code. Not assembly, but straight machine code. Just zeros and ones as far as the editor can see. Any popular language is better than that.

    In the latter case, I invite you to look at the design of an arbitrary natural language. Weird grammer rules, regional differences, loan words that don’t fit in, etc. No programmming language is worse than that. Although I would argue that Javascript has all of those problems too in some degree.

      • magic_lobster_party@fedia.io
        link
        fedilink
        arrow-up
        3
        ·
        16 hours ago

        C++ is just an exceptionally badly designed language.

        The weakness of C++ is that it attempted to be backwards compatible with C. It’s like it’s trying to be two programming languages at once.

        And then it became like three languages at once when smart pointers became the norm. It makes it very difficult and confusing to learn.