3 ms·
When C was invented, half of all coding was systems programming. C does a great job of addressing that need, that's why it's a fine language. The fact that C
by dasil003 16y ago
When C was invented, half of all coding was systems programming. C does a great job of addressing that need, that's why it's a fine language.
The fact that C is not great for GUI apps does not diminish C's quality for what it is, it's just not designed for that level of abstraction.
C++ on the other hand, attempts to be designed for that level of abstraction, and so in fact you are better off writing most types of modern apps in C++ than C in absolute terms, but when compared against other languages designed for the same paradigm it falls down due to complexity overload. That doesn't mean you can't do great work in C++, but you have to really know what you're doing, which parts to avoid, etc. C++'s strength is being both fast and powerful, but most of the time you don't really need both those qualities. Game programming is a notable exception.
- wglb 16y agoThe "which parts to avoid" conundrum shows up as every outfit that uses it in any serious way has a different set of "which parts to avoid". It is just a mess.