= Session =

Treat the Compiler with Compassion

The compiler is your friend!
Even when you think it's out to get you, it's still doing its best to help.

Before exploring TypeScript's inner workings, I spent more time than I'd like to admit cluelessly reading an error and wondering: "Why won't it just leave me alone?"

So let's learn why the compiler sometimes seems spiteful. I'll show you where and why the type system's power hits its unavoidable limits.

The session will cover:
- Theoretical and practical factors that dictate compiler design
- Surprising type system behaviors (e.g., deliberate incorrectness and limitations, surprising subtyping behavior).
- The reasons behind those surprises
- Practical tips for taming TypeScript

By sharing some insights from TypeScript's deep end, I hope to leave you with a better understanding of the language and more compassion for your loyal friend, the compiler.

Session Info

Talk
Duration: 35 minutes
typescript compilers type_systems