News for hackers. Stuff that matters.
Re:Java 1.0 Turns 25 by xxs on Saturday January 23, 2021 @10:41AM (#25882989)
Well, getters and setters are a choice that's not predominant for the core java packages: java.lang, java.util, java.io, java.nio, etc.

Of course there were added with awt 1.1 and swing in an attempt to catch up with the visual programming jazz and for many it never disappeared. Later on there was (still is) a trend to use builders... and a general shift for immutability.

There are no comments on this comment yet.