▲ | samlinnfer a day ago | |||||||
JEP 445: Unnamed Classes and Instance Main Methods Released in Java 21 | ||||||||
▲ | dvdkon a day ago | parent | next [-] | |||||||
It's a shame that they only introduced this as a feature only for single-file programs. It would make Java a much better language in my eyes if it allowed package-level methods, or even multiple records/classes per file. But apparently "impact on how Java code is written in general" is not wanted. | ||||||||
| ||||||||
▲ | rerdavies a day ago | parent | prev [-] | |||||||
:-) So not even remotely dead. |