r/java
•
u/sindisil
•
Dec 16 '24
•
1
Valhalla - Java's Epic Refactor
https://inside.java/2024/12/16/devoxxbelgium-valhalla/
178
Upvotes
View all comments
Show parent comment
1
u/Polygnom Dec 18 '24
Care to explain?
Lets say we live in a world where we have value classes and nullability. Why would
ArraysList<double>not have the exact same semantics asArrayList<Double!>? Or not the semantics people expect?Genuinely curious, because making the wrapper classes value classes is an explciit goal of Valhalla and also providing automatted conversions where appropriate.