Hacker News new | past | comments | ask | show | jobs | submit login

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.



`Option<T>` in Rust is basically identical to `T | null` in TypeScript.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: