| ▲ | eikenberry a day ago | |||||||
> Java isn't worse than C++; "Worse is better" is about simplicity vs expressibility tradeoffs, not an absolute better/worse value judgement. By saying Java is worse than C++ here the OP is only saying that Java is simpler (less expressible) than C++. | ||||||||
| ▲ | kazinator a day ago | parent [-] | |||||||
Nope; worse is better is about simplicity versus correctness tradeoffs. I've read the P. Gabriel essay enough times that I can rely on my memory of it. Like whether to hide interrupted system calls, or punt the responsibility for restarting them to the application. (That "PC loser-ing problem" example used in the essay). Between C++ and Java, it is hard call, but I would say that the Java ecosystem values correctness more than C++. I don't mean valuing the correctness of a delivered application, but valuing the contribution of the language stack to that goal. Java manages memory, and defines the order of evaluation of operands in an expression. Need we go on? Java also has a security story for loading compiled code. There is no sandbox model of any kind in C++. | ||||||||
| ||||||||