Teaching Effect Handlers in the Wild
summary
Course runs twice (2024–25) with cohorts of ~10–15, five 90‑minute lectures, five homework sets and a 100‑hour final project using the Effekt language; students build compilers, games and web apps and 17 projects enter the community build with roughly 108 declared effects. Teaching uses active live coding to show concrete behaviors like resumptions running code twice and capability passing vs lexical scoping choices that yield different results (6 vs 8). Covers patterns (exceptions → functions → state → architectural effects) and monadic reflection.
AI-written summary · about
chapters (11)
- 0:00Teaching effect handlers
- 2:31Course setup and approach
- 7:29Live coding loop
- 10:19Homework and exercises
- 13:10Quizzes and learning
- 16:27Project outcomes and feedback
- 18:33Using effects in projects
- 20:16When to introduce effects
- 21:43Effect patterns and pitfalls
- 23:29Resume and handler choices
- 24:12Learning outcomes and discussion
related talks
33mRethinking Effects with Effect Systems
39mDesigning software with effects systems
46mFunctional effects in perspective
33mEffects & Co Effects
01h 06mThe Evolution of Effects
58mEffect-Oriented Programming
32mEffects as Capabilities
01h 34mTeaching functional programming in the ivory tower ... and in the kitchen
