2 ms·
The whole point of using type systems is to prevent human errors; a "poka-yoke" for programming. The great advantage of Maybe/Optional systems is that only som
by pjc50 8y ago
The whole point of using type systems is to prevent human errors; a "poka-yoke" for programming.
The great advantage of Maybe/Optional systems is that only some of your references have to use them. You can draw a clear boundary between the parts of the code that have to check everything, and those that can prove it's already been checked.
In assembler we have no real type annotations, but for a long time I've considered trying to design a type-checking structure-orientated assembler.