The Accidental Teacher Link to heading I’ve been thinking about discipline lately. Not the “wake up at 5 AM and eat nothing but kale” kind, but the more interesting variety: the kind that comes from working within constraints that make bad choices impossible. After spending several months deep in Elm land - where the compiler is your strict but helpful mentor - I returned to a React codebase that was enthusiastically using useReducer everywhere. The whiplash was immediate and instructive.