5 ms·
This is a dynamically typed language. Null makes sense there. It also makes sense in a statically typed language with union types, think `string | undefined` i
by mpartel 4y ago
This is a dynamically typed language. Null makes sense there.
It also makes sense in a statically typed language with union types, think `string | undefined` in TypeScript. The extra layer added by Some/None is not fundamentally necessary for safety.