3 ms·
> Does the case for C++ in 2020 still exist? Even if exist, is better to let it die. C/C++ is a costly mistake. VERY costly. Apart of interact with legacy cod
by mamcx 6y ago
> Does the case for C++ in 2020 still exist?
Even if exist, is better to let it die. C/C++ is a costly mistake. VERY costly.
Apart of interact with legacy code, both C/C++ have much better replacements (like pascal).
Is only the stubborn "but what if I need to replace my heavily bug-ridding, unsafe, crash-prone, hard-to-mantain, harder-to-prove is good; source code, and need to retrain my developers that spend a lot of mental energy in workaround them in something, better?????"
Our industry is weird.
In any other, if the "engineers" insist in use a well-know unsafe tooling and refuse to learn safer tooling/practiques you will fire them as incompetents.
By the way, I learn mechanical engineering (at trade level).
- hota_mazi 6y ago> Even if exist, is better to let it die. C/C++ is a costly mistake. VERY costly. Not sure what you are basing this on but it's probably not an exaggeration to say that C/C++ has generated hundreds of billions of dollars in revenue over decades, not mentioning employment, advancement in programming language theory, learning lessons, etc... I am really not a fan of C++ overall but its achievements cannot be understated. Saying it's a "VERY costly mistake" is baffling.
- mamcx 6y ago> Not sure what you are basing this on but it's probably not an exaggeration to say that C/C++ has generated hundreds of billions of dollars in revenue over decades And PHP, Cobol, Perl, etc. Just because a tool is useful is not a reason to avoid point their problems. And C/C++ have very well know problems, since decades ago. > Saying it's a "VERY costly mistake" is baffling. Maybe if MS say it? https://www.zdnet.com/article/microsoft-70-percent-of-all-security-bugs-are-memory-safety-issues/ https://www.zdnet.com/article/microsoft-70-percent-of-all-se... https://www.zdnet.com/article/microsoft-heres-why-we-love-programming-language-rust-and-kicked-off-project-verona/ https://www.zdnet.com/article/microsoft-heres-why-we-love-pr... Just to point a recent one...