Y
Hacker News
new
|
ask
|
show
|
jobs
by
sedro
1301 days 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.
1 comments
Larrikin
1301 days 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.
link