Records: Data classes in Java | Bye Lombok? | Explanation + Tutorial

  Рет қаралды 2,186

Programming with Mati

Programming with Mati

Күн бұрын

Пікірлер: 10
@gustavolobos3653
@gustavolobos3653 Жыл бұрын
Hi, Mati. I liked the video. It's very clear. Could you please explain better why you avoid using Lombok?
@programmingwithmati
@programmingwithmati Жыл бұрын
Hi, thanks for the comment! I will make a follow up video about what I think about Lombok
@khmarbaise
@khmarbaise 6 ай бұрын
A small inaccuracy... records haven introduced in JDK 14 as preview feature and finalized in JDK 16...
@dehorian_stories
@dehorian_stories Жыл бұрын
New sub! Nice info, thanks for sharing
@programmingwithmati
@programmingwithmati Жыл бұрын
Thanks for subscribing and the kind comment!
@ronySky_
@ronySky_ Жыл бұрын
That's a good introduction to Records, but you don't really say why you think this is better than Lombok. Not only moving away from classes you lose the powers of inheritance, but without Lombok you lose builders, which are awesome if you're dealing with models with many fields. Not to mention records' alternative to overriding equals/hashcode when not using all fields is much more verbose than using Lombok annotations.
@programmingwithmati
@programmingwithmati Жыл бұрын
Thanks for the comment! I’m preparing a new video on way I’ve started to avoid Lombok
@guilhermemelo3760
@guilhermemelo3760 Жыл бұрын
Very cool. Looks like Kotlin
@programmingwithmati
@programmingwithmati Жыл бұрын
Yes it does!
@nanonkay5669
@nanonkay5669 5 ай бұрын
The learning gap between Java and kotlin is getting smaller and smaller
You DON'T NEED LOMBOK | What is Lombok? | Why I don't use it | Java Tutorial
17:35
Deep Dive with Java Records with Jason Young
29:39
SpringDeveloper
Рет қаралды 10 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Java Reflection Explained - bɘniɒlqxƎ noiɟɔɘlʇɘЯ ɒvɒᒐ
20:07
Coding with John
Рет қаралды 193 М.
Java Records: What are they?
18:54
Ranjith ramachandran
Рет қаралды 2,6 М.
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Amigoscode
Рет қаралды 217 М.
New Java Version 22 - The 3 Best New Features You'll ACTUALLY Use
13:15
Coding with John
Рет қаралды 120 М.
Java Records Unleashed: Validation Best Practices
18:07
Tales from the jar side
Рет қаралды 1 М.
Data-Oriented Programming in Java
31:39
Java
Рет қаралды 21 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН