Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ummonk
on Dec 4, 2018
|
parent
|
context
|
favorite
| on:
NULL: The worst mistake of computer science? (2015...
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
on Dec 4, 2018
[–]
`Option<T>` in Rust is basically identical to `T | null` in TypeScript.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: