Re:Static typing will not save us from broken software
by cle on Sunday October 23, 2016 @07:37PM
(#12775951)
If that is true, then it's another example supporting my point.
[ Parent
| on HN ]
Re:Static typing will not save us from broken software
by premium-concern on Monday October 24, 2016 @10:34AM
(#12779116)
No. Java messing things up as usual, doesn't have any broader impact on the usefulness of the concept.
Error handling with null is wrong and broken, regardless of whether the null is "typed" or not.
null might have some very limited other uses, but they will never compete with those structures designed for error handling, because they do something fundamentally different.
Re:Static typing will not save us from broken software
by cle on Monday October 24, 2016 @12:01PM
(#12779998)
My argument is practical, not theoretical. Platitudes and ideals are disposable when you have to actually build something.
Re:Static typing will not save us from broken software
by premium-concern on Monday October 24, 2016 @04:27PM
(#12782557)
Yawn.
Java is the platform with NPEs and null checks everywhere. If that's your definition of practical, sure, go ahead.