2 ms·
> Ownerships, even nullability checks are not helpful Memory management does get on the way. But you are wrong about algebraic data types, they will help you s
by marcosdumay 3y ago
> Ownerships, even nullability checks are not helpful
Memory management does get on the way. But you are wrong about algebraic data types, they will help you sketch something.
Ideally, if you don't know what you want, you will want extendable¹ algebraic types, more like Type Script than Rust, but what you call "nullability check" is a benefit since the beginning.
1 - Where you can say "here comes a record with those columns" instead of "here comes this record". You can write this in Rust, but it's easier to simply completely define everything.