News for hackers. Stuff that matters.
Re:Java's records, Lombok's data, and Kotlin's data classes by villasv on Friday May 07, 2021 @01:21PM (#27078387)
IKR. The question framing is almost like: is there any other reason to use Java except all the most important and good reasons?
Re:Java's records, Lombok's data, and Kotlin's data classes by smoldesu on Friday May 07, 2021 @03:25PM (#27079912)
I meant it more on a language level. It has a great network of support, no doubt credited to it's long legacy, but what technical advantages would it provide over writing a program in a language like C++ or Rust? Is it all creature comfort, or does it have some hidden advantage that I can't see?
Re:Java's records, Lombok's data, and Kotlin's data classes by Misdicorl on Friday May 07, 2021 @04:28PM (#27080502)
> besides it's mature community/ecosystem/tooling

How could you not see this as an incredible technical advantage in almost any context?

Re:Java's records, Lombok's data, and Kotlin's data classes by Misdicorl on Friday May 07, 2021 @04:34PM (#27080574)
If you must have a specific language level technical advantage over C++/Rust, its the incredible GC algorithms available to you while you are (mostly) stuck with simple arena collectors in C++/Rust land.