Re:Please stop saying Java sucks
by TheLoneWolfling on Wednesday June 24, 2015 @07:39PM
(#9775157)
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.
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...