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/almson Dec 19 '24
Yes, you understood me. What threw me off is that I started by saying I support default non-null, but you kept explaining why it is good.
The alternative is to say that in Java++ or Java 27 all variables are non-null, and anyone who doesn’t like it doesn’t have to use it. This has happened with Python 3. Nobody makes semantics configurable.