filmov
tv
Deep Dive into Java 17 Records (How and why to customize Java Record)
Показать описание
I recently did a video on Java 17 Records - a very powerful way of writing your Java code from now on. It's also available on earlier Java versions but this is the first LTS platform where Records are supported.
I promised to do a deep dive into how Records work and how they can be customized - also going to tear them apart at the bytecode level. So join me for 28 minutes of deeper insight into how Java Records rock so hard right now. This is pretty essential knowledge for any serious Java developer who wants to understand today's Java.
As always, I appreciate any likes and comments to support the channel, and if you like the content, consider also clicking the subscribe button and the bell icon to get notified of upcoming content. Enjoy the video and let me know if there are any questions or something you would like to see in the future!
Here are the video timecodes:
0:00 - Introduction
0:22 - Simple Java Record vs Java Class
1:55 - Deep-dive: Record on bytecode level
6:00 - Rules and limitations for creating a Record
9:00 - (un)paid commercial break
9:50 - How and why can you customize your Record?
13:36 - Constructor customization
18:10 - static fields and methods
19:45 - customizing equals, hashcode, toString
20:45 - custom functions
23:12 - bonus tip: Record introspection - is it a record or a class?
26:00 - Conclusion
Here are some links mentioned in the video:
I promised to do a deep dive into how Records work and how they can be customized - also going to tear them apart at the bytecode level. So join me for 28 minutes of deeper insight into how Java Records rock so hard right now. This is pretty essential knowledge for any serious Java developer who wants to understand today's Java.
As always, I appreciate any likes and comments to support the channel, and if you like the content, consider also clicking the subscribe button and the bell icon to get notified of upcoming content. Enjoy the video and let me know if there are any questions or something you would like to see in the future!
Here are the video timecodes:
0:00 - Introduction
0:22 - Simple Java Record vs Java Class
1:55 - Deep-dive: Record on bytecode level
6:00 - Rules and limitations for creating a Record
9:00 - (un)paid commercial break
9:50 - How and why can you customize your Record?
13:36 - Constructor customization
18:10 - static fields and methods
19:45 - customizing equals, hashcode, toString
20:45 - custom functions
23:12 - bonus tip: Record introspection - is it a record or a class?
26:00 - Conclusion
Here are some links mentioned in the video:
Комментарии