3 ms·
Well, a better comparison would be Typescript with strict null type checking enabled. You just use algebraic data types to specify whether a value can be null.
by ummonk 8y ago
Well, a better comparison would be Typescript with strict null type checking enabled. You just use algebraic data types to specify whether a value can be null.
- bfrydl 8y ago`Option<T>` in Rust is basically identical to `T | null` in TypeScript.