3 ms·
The biggest problem I have with Java is that it is handhold-y in ineffective ways. It doesn't have automatic getters and setters, because they obscure the code
by TheLoneWolfling 11y ago
The biggest problem I have with Java is that it is handhold-y in ineffective ways.
It doesn't have automatic getters and setters, because they obscure the code that runs. Except that in practice everything ends up with getters and setters precisely because it means it can obscure the code that runs - namely, so you can add behavior without having to change the public interface. Which means in practice it's just more boilerplate and more opportunity for typos.
Ditto with operator overloading, interfaces, default arguments, multiple inheritance, dynamic types...