(no title)
gk1256 | 4 years ago
Spot on.
> C chose to be simple in the language itself and not in the code.
But it market itself being simple so people even newcomers think that C is simple in every regard. Only few people rarely acknowledge this fact.
> The single greatest praise that I will give to C is that the entirety of the language can be held in the mind of the programmer using it, with zero need for reference. This is impossible in most other languages.
In other languages, which parts you are unable to held in your mind?
The only instance where I need references in C++ is STD library features. But if we measure, it take less time than if we were to reinvent it on C.
notacoward|4 years ago
I'm not saying C is the right choice for every project. C++ isn't either. C++ might be a pretty good language for doing the sorts of mid-level things that the people on the C++ language committee like to do (surprise surprise) but there are many broad domains at both higher and lower semantic levels for which it can be a poor fit. For a lot of low-level stuff a language that lets people define their own domain-specific abstractions will beat an "every bell and whistle and all wrong for what we're doing" language every time.