3 ms·
C is very successful and barely hated (C, not C++).
by mseepgood 13y ago
C is very successful and barely hated (C, not C++).
- nostrademons 13y agoYeah, C and to some extent Python seem to be exceptions to Stroustrop's Law. There was a poll on this recently: https://news.ycombinator.com/item?id=6527104 https://news.ycombinator.com/item?id=6527104 My pet theory on why is that both of these languages didn't try to be middle-of-the-road, good-for-everything languages, they were created to solve a specific problem and were very well designed for that niche. So programmers use C for systems programming and when they need to be close to the metal, they don't use it for large applications with ambiguous requirements - and so all the hate that the latter engenders gets directed to C++ and Java. And programmers use Python when they need to prototype stuff, script things, or write a quick tool where performance doesn't matter - and when performance does matter, they either end up calling out to C (which is actually good for that) or they end up rewriting in Java and cursing out that language.
- qznc 13y agoI like C, but I also like the type-safe, efficient containers and generic algorithms of C++.
- gngeal 13y agoIn many ways, the containers and generic algorithms of C++ may not be necessarily that efficient: http://datadraw.sourceforge.net http://datadraw.sourceforge.net