you are viewing a single comment's thread
view the rest of the comments
[–] 29 points 2 years ago (11 children)

So why did we do such a bad fucking job

  • source
  • hideshow 11 child comments
  • [–] 10 points 2 years ago (6 children)

    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.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 0 points 2 years ago (5 children)

    I mean that they are poorly designed. And year regular languages are just as badly designed. I'd say c++ is just as bad as javascript tbh.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 2 points 2 years 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.

  • source
  • parent
  • [–] 0 points 2 years ago (2 children)

    Go, Ruby, and Python are all pretty great

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 2 years ago (1 child)

    I do really love python. Just wish they did stronger typing.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 0 points 2 years ago

    If that's the case I highly suggest you check out Golang. It's got strict types like Java but it's a lot more intuitive and expressive than either Java or C#.

    My favorite language is Ruby, for those same reasons, but Go would be a better fit for someone who likes strong typing with a certain je ne sais qoui.

  • source
  • parent
  • [–] 3 points 2 years ago (3 children)

    Front end versus back end. The people who make programming languages are back-end developers. Their strengths lie with making something that works, not something that looks pretty.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 8 points 2 years ago* (1 child)

    I beg to differ

    I can read plain-text PHP, Python or Ruby code.
    I can't read plain-text, uncoloured HTML or Vue code.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 2 years ago

    I can't read plain-text, uncoloured HTML

    That's all we had back in the day. The only difference that jumps out to me is having attributes, but that's still not that crazy. Even back when I did web stuff, I used notepad++ without any particular higlighting the vast majority of the time for plain HTML (though not JS).

  • source
  • parent