| ▲ | yencabulator 4 days ago | |
The whole point of "no nullability bombs" is to make it obvious in the type system when the value might be not present, and force that to be handled. Javascript:
Typescript:
(Of course, languages like Rust do that cleaner, since they don't have to be backwards-compatible with old Javascript. But I'm using Typescript in hopes of a larger audience.) | ||