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.
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.