4 ms·
"there are languages people complain about, and languages nobody use" (quote from the creator of C++) It's easy to complain about C or C++, but I don't see tha
by jokoon 5y ago
"there are languages people complain about, and languages nobody use" (quote from the creator of C++)
It's easy to complain about C or C++, but I don't see that many languages that compiles to machine code, and offer compilers for many platforms.
I agree that C is somehow the new "assembly".
C is the glue used for building operating system, so it's not surprising you need to use it in many places.
I'm sorry but I don't see any better language that is as simple to learn for students as C, and fixes some problems of C. Most new languages are often difficult to read, introduce a lot of un-needed sophisticated features, and are not that much used because they're too niche.
A good example is Rust. Sure, the safety is an awesome feature, but ADA already did it somehow, but it's not what developers need.
There is a reason the world talk english and not german or japanese. It's because english is just much, much easier to learn. Nobody cares if the language makes sense.
It's odd because HTML and javascript are so much more ambiguous and cause a lot of pain, yet I hear more complaints about C or C++.
- 5560675260 5y ago> It's odd because HTML and javascript are so much more ambiguous and cause a lot of pain, yet I hear more complaints about C or C++. HTML implementations (and to extent JS) are very forgiving - you could have thousands of warnings and errors raised by linter, but page will still render mostly fine. In this regard C would be closer to XHTML which would fail to render unless it's "well formed" and, well, nobody uses it nowadays.
- deleted 5y ago[deleted]
- jstimpfle 5y agoNo offense but this analogy is plain wrong. C is definitely like HTML, not XHTML, in that respect.
- MrBlueIncognito 5y ago