4 ms·
Type inference is largely orthogonal to the question. The point is, any formal proof you could do outside a type system you can also do within a type system,
by layer8 3y ago
Type inference is largely orthogonal to the question.
The point is, any formal proof you could do outside a type system you can also do within a type system, so yes the right type system would help you avoid such bugs.
- auggierose 3y agoNo, that's not the point. There is no point to a general type system without automatic type inference. Because otherwise, it's just a kind of cumbersome and cobbled together logic.