Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sedro
· 4y ago · 0 comments
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.
Comments
[–]
Larrikin
4y 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.