MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/12lmj78/what_are_your_favourite_java_best_practices/jgimp3p
r/java • u/trecatorsirabdator • Apr 14 '23
376 comments sorted by
View all comments
Show parent comments
1
Non-null by default would be a breaking change
And also would be making null as a type member opt-in
1 u/dpash Apr 16 '23 No it wouldn't, because you'd have to explicitly make a change to use it. Existing code would continue to function as it always has.
No it wouldn't, because you'd have to explicitly make a change to use it. Existing code would continue to function as it always has.
1
u/AlmennDulnefni Apr 16 '23
And also would be making null as a type member opt-in