3 ms·
> be useful if you could express it in types or some other machine-checkable fashion I think this is as close to the answer you can get in the paradigm in whic
by mindslight 8y ago
> be useful if you could express it in types or some other machine-checkable fashion
I think this is as close to the answer you can get in the paradigm in which you're asking. It is useful in the formal but non-machine-checkable realm to design the algorithm. Every invariant you can encode into the type system is a double win, but invariants you can't specify in the type system are still a win.
FWIW, direct exposure to abstract concepts like this is a benefit of a CS education. They're eminently learnable outside of a classroom (bottom-up), but you have to work to keep an open mind to recognize the trail of breadcrumbs that leads past your practicality-tailored preconceptions. Think of yourself as learning math, not programming.