News for hackers. Stuff that matters.
Re:Java 17 / JDK 17: General Availability by MichaelMoser123 on Tuesday September 14, 2021 @12:16PM (#28526984)
you can use lombok for generating accessors, helps to reduce a lot of boiler plate code. See https://javabydeveloper.com/project-lombok-tutorial/
Re:Java 17 / JDK 17: General Availability by muhammedbash on Tuesday September 14, 2021 @12:38PM (#28527299)
I use the lombok plugin with IntelliJ, it eliminates tedious parts of some code.

Some times one needs to create new objects return multiple related items from a function. Or use a collection or array. I think it is unnecessary. Other languages (e.g. go or python) have had this for a while now. I taking a wild guess here LISP probably had it since the 1970s.