Correction: Final Variables does not imply that the object is immutable. If the variable is of complex type like Address then returning the address property will allow the caller to change the property. If all Properties in the record are themselves records, then your implication is correct.
Thanks for Sharing. Please upload more such videos with latest features in java to increase productivity. Also, could you please create separate playlist for daily coding in java covering all dsa and algo.
Helpful. Thanks. What is the advantages of record over Lombok library ? I use record and I enjoy using it. Have to use @Builder Lombok annotation to get build pattern object creation. Is there any way to achieve this without @Builder annotation? Some of my Colleagues saying they prefer Pojo class with Lombok.
They both serve the same purpose to reduce the boiler plate code. simple difference is Lombok requires an external library, while records are built-in to the Java language
Head to cutt.ly/spring_micro and use Coupon Code SUPER70 to get 70% off the course.
nice to know a 'Record'. I am sure we can use in multiple scenarios. If we want to populate a select field or grid with sorting ( inside a collection)
Really nice explanation!!
Correction:
Final Variables does not imply that the object is immutable.
If the variable is of complex type like Address then returning the address property will allow the caller to change the property.
If all Properties in the record are themselves records, then your implication is correct.
Thanks for Sharing.
Please upload more such videos with latest features in java to increase productivity.
Also, could you please create separate playlist for daily coding in java covering all dsa and algo.
Thanks for your explanation :)
Which one prefer for you lombok or record
Nice video 👍. Can you please create a full length video on Keycloak with Open id and spring boot role based authentication with rest apis ?
Great ! Thanks
Thank you for sharing..
Thanks bro 🔥🔥
can you cover 10-19 most imp features
Helpful. Thanks.
What is the advantages of record over Lombok library ?
I use record and I enjoy using it.
Have to use @Builder Lombok annotation to get build pattern object creation.
Is there any way to achieve this without @Builder annotation?
Some of my Colleagues saying they prefer Pojo class with Lombok.
They both serve the same purpose to reduce the boiler plate code. simple difference is
Lombok requires an external library, while records are built-in to the Java language
thank you, I don't remember and can't use the commands in the new versions of Java very well. lol
what is the name of the theme you are using for your IDE (and also icon pack)?
Lombok does the same right
It's the same as the data class from kotlin 🚀
no
yup
Can we use Spring Validation API "Annotations" like @NotNull together with Records?
Where to learn Java from
Great bro
Can you please upload a video to upload multiple file in spring boot
what plugin you used for icons, and which fonts?
Xocde dark theme
In which java version Records are available
Java 14 onwards
The names and email was funny . Kutub ?
Is it available in Java 8?
Java 17
what about seal class
lombok does something or is it not so?
lombock does only to shorten the code
It's same as dataclasees in python
Bro please can you check your Twitter DM
It’s nothing but coping from kotlin.. we already have all these in kotlin
kabhi git ku bhi yad kar liya karo🤣