4 ms·
longtime C/C++ guy who became a longtime Java guy: the most time I've ever spent dealing with invalid addresses and memory leaks, in production /enterprise cod
by syngrog66 4y ago
longtime C/C++ guy who became a longtime Java guy:
the most time I've ever spent dealing with invalid addresses and memory leaks, in production /enterprise code, has been in Java, not C or C++
my personal theory is because despite how much safer Java was by design, culturally, beginning in the early 2000s, it also opened the floodgates to a big wave of lower caliber programmers "just doing it for steady jobs" and so a "99% right? ship it! someone will file a ticket next week if needed" mentality was more common
not the fault or credit of the langs, just the type of people they attracted, at large scale
Java: "I'm super friendly! Just click here!"
C: "Here's a razor blade. Here's a razor blade. Another. Another. Now assemble to build a maze. Also the maze is invisible. Oh and our manual is 50 pages."
(I appreciate both in diff ways.)