3 ms·
> almost all type systems in wide use today are extremely dumb compared to an actual human This isn't really true in the specific sense though (obviously it's
by lucideer 4y ago
> almost all type systems in wide use today are extremely dumb compared to an actual human
This isn't really true in the specific sense though (obviously it's inherently true in the general sense, but that's less relevant here).
Type systems are true & accurate representations of data structure and usage - any given actual human (a) may have an inaccurate mental representation of that at any given time, (b) that mental representation may change over time, (c) that mental representation will almost always be incomplete for any reasonably complex system.
Being "dumb" or intelligent isn't about representing data structures in memory, but the particular problem being discussed here is very much about that: in that context, humans are usually "dumber" than type systems.
- lmeyerov 4y agoI'm using "dumb" to refer to computationally limited reasoning for even small programs. Think linear regression vs neural networks, or in this case, ML-family type systems (with all the modern trimmings) vs an SMT solver. The "explaining your code to a three year old vs a professional colleague" comment is spot on.