MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/ciabtb/jep_358_helpful_nullpointerexceptions/ev5fcd4/?context=3
r/java • u/Godworrior • Jul 26 '19
25 comments sorted by
View all comments
Show parent comments
10
This rather sounds like the removal of null instead of removing NPE (which would be a side-effect) but not sure how a migration of Java to a non-null world would look like.
null
10 u/dpash Jul 27 '19 Yes, that's exactly the case. Removing NPE without removing null would be impossible. 0 u/[deleted] Jul 27 '19 [deleted] 11 u/dpash Jul 27 '19 By the same argument, we don't need strong type systems. We just need to be better at our jobs. 0 u/[deleted] Jul 27 '19 [deleted] 9 u/dpash Jul 27 '19 The straw man was arguing against the complete removal of null when I never claimed such a thing.
Yes, that's exactly the case. Removing NPE without removing null would be impossible.
0 u/[deleted] Jul 27 '19 [deleted] 11 u/dpash Jul 27 '19 By the same argument, we don't need strong type systems. We just need to be better at our jobs. 0 u/[deleted] Jul 27 '19 [deleted] 9 u/dpash Jul 27 '19 The straw man was arguing against the complete removal of null when I never claimed such a thing.
0
[deleted]
11 u/dpash Jul 27 '19 By the same argument, we don't need strong type systems. We just need to be better at our jobs. 0 u/[deleted] Jul 27 '19 [deleted] 9 u/dpash Jul 27 '19 The straw man was arguing against the complete removal of null when I never claimed such a thing.
11
By the same argument, we don't need strong type systems. We just need to be better at our jobs.
0 u/[deleted] Jul 27 '19 [deleted] 9 u/dpash Jul 27 '19 The straw man was arguing against the complete removal of null when I never claimed such a thing.
9 u/dpash Jul 27 '19 The straw man was arguing against the complete removal of null when I never claimed such a thing.
9
The straw man was arguing against the complete removal of null when I never claimed such a thing.
10
u/thatsIch Jul 27 '19
This rather sounds like the removal of
nullinstead of removing NPE (which would be a side-effect) but not sure how a migration of Java to a non-null world would look like.