3 ms·
Many like Java for the write once run anywhere concept combined with memory safety. These can be achieved with C++ (std and RAII respectively) but it's less lik
by ddtaylor 8y ago
Many like Java for the write once run anywhere concept combined with memory safety. These can be achieved with C++ (std and RAII respectively) but it's less likely a less experienced developer will do that correctly in C++ and enterprises like solutions where you can throw more man hours at a problem with the lowest common denominator.
- pjmlp 8y agoNot that easily in 1996, when ANSI C++ was only finished in 1998 and by 2003 compilers were still not fully compliant.
- ddtaylor 8y agoIt's still pretty hard today even with good C++ standards. If I give a less skilled developer a problem to solve in Java I may not get as optimised a solution, but I don't have to worry about his code segfaulting or opening up RCE unless he really went out of his way to do so making code review a lot easier for low hanging fruit.
- pjmlp 8y agoQuite true, the copy-paste compatibility with C was a bless for its adoption, and now has become a curse, impossible to take away. There is always that guy using a C++ compiler as if writting C.