Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So true. The only advantage of C compared to C++ is incomparably faster compilation - primarily due to the "abuse" of header files by C++ libraries, including STL.


What about clean syntax, simple straight forward language?


Sure, with a few caveats: 1) you can limit yourself to a reasonable subset of C++ that is just as clean and straightforward; 2) code written in C++ could look much cleaner and straightforward than it is possible to achieve in C; 3) many have argued that the C syntax is bad, especially compared to some other languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: