|
|
|
|
|
by alxmng
1183 days ago
|
|
The purpose of a type system is to ensure the correctness of programs. That's what they are, that's why they were invented, that's why they were studied. That CS involves math doesn't change the fact that it's about programming. The whole reason we want to prove a type system sound is so we can prove certain things about the programs that use that type system. |
|
Typed lambda calculus was formalized before the first programmable computers, and it's relation to programming wasn't clarified for another 20+ years (and real type systems don't really start to appear in programming languages for another decade after that afaik).