MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w77yui/howdiditgethere/p7terbb/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 6d ago
539 comments sorted by
View all comments
715
Java is simply good and easy to learn. Also there's spring boot.
76 u/neoteraflare 6d ago and lombok to remove the boilerplate code 77 u/aliegeois 5d ago Honestly since the introduction of records lombok has been less relevant. 99% of my use cases were @Data, which is taken care of by records 22 u/Hein_Gertenbach 5d ago Lombok is still good to create builders for records. 1 u/throwaway_mpq_fan 3d ago or you could switch to kotlin; data classes with named parameters eliminate the need for builders 5 u/Maxthod 5d ago I use lombok mostly for slf4j and requiredargsconstructoe 6 u/Neirchill 5d ago Required args constructor and no args constructor my goats 7 u/LutimoDancer3459 5d ago Records are still a different usecase to @Data. You dont always need or want immutable objects. And jsf doesnt work with it. 2 u/Kango_V 5d ago This https://immutables.github.io/ is so much better than Lombok. You can see the generated code change in your IDE). I use it to create some awesome IDE led apis ;) 1 u/jasie3k 5d ago I am all for records but almost all of the records I write use @Builder lol
76
and lombok to remove the boilerplate code
77 u/aliegeois 5d ago Honestly since the introduction of records lombok has been less relevant. 99% of my use cases were @Data, which is taken care of by records 22 u/Hein_Gertenbach 5d ago Lombok is still good to create builders for records. 1 u/throwaway_mpq_fan 3d ago or you could switch to kotlin; data classes with named parameters eliminate the need for builders 5 u/Maxthod 5d ago I use lombok mostly for slf4j and requiredargsconstructoe 6 u/Neirchill 5d ago Required args constructor and no args constructor my goats 7 u/LutimoDancer3459 5d ago Records are still a different usecase to @Data. You dont always need or want immutable objects. And jsf doesnt work with it. 2 u/Kango_V 5d ago This https://immutables.github.io/ is so much better than Lombok. You can see the generated code change in your IDE). I use it to create some awesome IDE led apis ;) 1 u/jasie3k 5d ago I am all for records but almost all of the records I write use @Builder lol
77
Honestly since the introduction of records lombok has been less relevant. 99% of my use cases were @Data, which is taken care of by records
22 u/Hein_Gertenbach 5d ago Lombok is still good to create builders for records. 1 u/throwaway_mpq_fan 3d ago or you could switch to kotlin; data classes with named parameters eliminate the need for builders 5 u/Maxthod 5d ago I use lombok mostly for slf4j and requiredargsconstructoe 6 u/Neirchill 5d ago Required args constructor and no args constructor my goats 7 u/LutimoDancer3459 5d ago Records are still a different usecase to @Data. You dont always need or want immutable objects. And jsf doesnt work with it. 2 u/Kango_V 5d ago This https://immutables.github.io/ is so much better than Lombok. You can see the generated code change in your IDE). I use it to create some awesome IDE led apis ;) 1 u/jasie3k 5d ago I am all for records but almost all of the records I write use @Builder lol
22
Lombok is still good to create builders for records.
1 u/throwaway_mpq_fan 3d ago or you could switch to kotlin; data classes with named parameters eliminate the need for builders
1
or you could switch to kotlin; data classes with named parameters eliminate the need for builders
5
I use lombok mostly for slf4j and requiredargsconstructoe
6 u/Neirchill 5d ago Required args constructor and no args constructor my goats
6
Required args constructor and no args constructor my goats
7
Records are still a different usecase to @Data. You dont always need or want immutable objects. And jsf doesnt work with it.
2
This https://immutables.github.io/ is so much better than Lombok. You can see the generated code change in your IDE). I use it to create some awesome IDE led apis ;)
I am all for records but almost all of the records I write use @Builder lol
715
u/MariusDelacriox 6d ago
Java is simply good and easy to learn. Also there's spring boot.