SLIDE 1
Type Systems: Big Idea
Static vs. Dynamic Typing
- Expressiveness (+ Dynamic)
- Don’t have to worry about types (+ Dynamic)
- Dependent on input (- Dynamic)
- Runtime overhead (- Dynamic)
- Serve as documentation (+ Static)
- Catch errors at compile time (+ Static)
- Used in optimization (+ Static)