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

i disagree with the main article, but he is right. C++ was supposed to be more than just browsers, GUI and video games: it shuold have been a better C. It failed. It was supposed to be more secure than C. It failed.

Mostly the OOP failed part, because it wasn't that good of an idea (usefull in some case, to do geometry and grapic stuff, and for other, specific cases). And Java's "everything is an object" did not help C++, with countless students trained on Java then writing software with C++ and doing awfull things everywhere. C++15 is really fun to work with in new, clean projects, with either new or very ancient C++ devs, but i would get away from any proposition including a pre-2013 C++ codebase and any "rockstar"/"genius" C++ dev with 2-10 years of C++ experience as a lead.

And by the way, nowadays python and Js replaced C++ in the GUI usecase (yes, electron is written with C++, this is not my point).



> it shuold have been a better C. It failed. It was supposed to be more secure than C. It failed.

If it's worse and less secure than C, why is it so popular? Why didn't all people continue to use C?


It's not strictly better than C; that dosen't mean it's worse either. Language "goodness" isn't single-dimensional.




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

Search: