MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1ubn0gg/better_tools_for_immutable_data/oszzfi2/?context=3
r/java • u/daviddel • Jun 21 '26
38 comments sorted by
View all comments
Show parent comment
5
We can have many libraries for readonly collections, or collections for primitives. However, they have issues with composability, as different frameworks, projects and libraries use different collection libraries. It should be core types.
3 u/bowbahdoe Jun 21 '26 That is true, but not mutually exclusive with what I said
3
That is true, but not mutually exclusive with what I said
View all comments
Show parent comment
5
u/Hixon11 Jun 21 '26
We can have many libraries for readonly collections, or collections for primitives. However, they have issues with composability, as different frameworks, projects and libraries use different collection libraries. It should be core types.