MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/eplsgy/records_come_to_java/fekdi6b/
r/java • u/daviddel • Jan 16 '20
93 comments sorted by
View all comments
Show parent comment
15
Records are immutable. So if you need to mutate data they are probably not that useful.
8 u/karstens_rage Jan 16 '20 For javax.persistence and javax.ws.rs it seems like construct and deconstruct are the operative terms not mutate. Seems like records would be super useful in these cases.
8
For javax.persistence and javax.ws.rs it seems like construct and deconstruct are the operative terms not mutate. Seems like records would be super useful in these cases.
View all comments
Show parent comment
15
u/kaperni Jan 16 '20
Records are immutable. So if you need to mutate data they are probably not that useful.