Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
At a guess, I'd say it's still that way for backwards compatibility 😊
Visibility in another class I think, if everything was private people get errors they didn't understand why.
Java 9 should just do what Scala does: automatically add getters and setters to public fields
I'm sure there is / was a legitimate reason, but I just think for the sanity of the future, for a language that claims is OO it should be able to enforce certain good practices as implied and and make it possible to do otherwise with some little extra work.
I agree, for backward compatibility that's probably impossible to change now.