• 0 Posts
  • 30 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
  • 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.







  • The problem with C++ is not the lack of safety features. It’s the ever lasting backwards compatibility that is keeping it both alive and down at the same time.

    Having to support 50 year old code, is going to limit any restriction you place. But it is usually the restrictions that make a language good.

    Example: You can write perfectly good modern C++ code without any pointers. But pointers are so ingrained into the language, that it is impossible to remove them.