3 ms·
> Sure, object references can be null. Get over it, that's like CS 101 stuff right there. What do you think happens if you use an undefined variable in Python o
by wtetzner 10y ago
> Sure, object references can be null. Get over it, that's like CS 101 stuff right there. What do you think happens if you use an undefined variable in Python or Javascript?
I think you missed the part where he's comparing against statically typed languages like Rust and Swift. He's not arguing against static typing. He's arguing that Java is both more verbose and less type-safe than languages like Rust and Swift, which both prevent null, and have type inference.
> Get over it
Why get over it when you can just use a language that doesn't let null leak into every reference?