Languages _hot_ — 15312 Foundations Of Programming
You start thinking like a type checker. You begin to catch "impossible" bugs before you even hit compile because you've designed your data structures to be mathematically sound.
The "Dynamics" describe how a program steps from one state to the next. Using , you write rules that dictate exactly how an expression evaluates. This is where you learn about:
The "Statics" of a language define what it means for a program to be "well-formed" before it ever runs. You explore: 15312 foundations of programming languages
Once you understand the underlying types (sums, products, functions), every new language is just a different combination of the same fundamental building blocks.
The journey begins by moving away from "concrete syntax" (the curly braces and semicolons) and toward . You learn that a program is a structured mathematical object, not just a string of characters. 2. Statics: Type Systems You start thinking like a type checker
If you plan on being a software engineer, you might wonder why you need this level of abstraction. The benefits are long-term:
At its core, 15-312 is about the . When you write x = x + 1 , why does the computer know what to do? Using , you write rules that dictate exactly
The climax of the course is proving . Together, these two properties guarantee that if a program passes the type checker, it will either finish with a result or keep making progress—it will never crash or enter an undefined state. Why Study It?