3 ms·
> I definitely had much more null pointer exceptions on java than typing errors on Python Null pointers are a type error. The fact that several nominally "stat
by orclev 9y ago
> I definitely had much more null pointer exceptions on java than typing errors on Python
Null pointers are a type error. The fact that several nominally "statically" typed languages don't differentiate between nullable and non-nullable types is a significant source of failure in their type systems. Using a modern language that properly identifies nullable values as a distinct type from non-nullable ones goes a long way towards eliminating a whole host of problems. It will be interesting to see what things look like in 10 years or so once Rust has had time to really displace a significant portion of the C and C++ code in the wild, and hopefully Kotlin has killed off Java (and if we're really lucky Typescript has done the same more or less with Javascript).