top | item 33710389

(no title)

sedro | 3 years ago

You can use ?. or assign to a nullable type. Or you can get a NPE at runtime. Which is to say, it's not null-safe.

discuss

order

Larrikin|3 years ago

So you're in the exact same case as you were in Java, which was my third point. But the type is a special type to let you know what you're doing is unsafe.