What is a Java Record?

preview_player
Показать описание
Introduction into Java 14+ records.

Рекомендации по теме
Комментарии
Автор

Lombok @Value in native java. Nice one.

Grimly
Автор

Can it be used in spring get and post mapping for request body and response? It seems, it doesn't work for me. I tried with serializer too but no luck.

itlearner
Автор

How are accessors made available? that's an interesting question I think.. they're even available at compile time.

georgetsiklauri
Автор

I'm honestly freaking out, the new Java features are so awesome

nassreml
Автор

To full joy we need now destructuring like in ES6 :-)

rniestroj
Автор

Java is really awful PL. Take features from Scala. Case classes. Just reuse existing it and make it available in Java. No. They will make all this crap. Absolutely ridiculous. For those, who never touched anything except Java it might seem cool. But it is not.

psztvmq