3 ms·
Honestly, I prefer the long-form first-cut that he dismisses to save 10 lines of code at the cost of using generics.
by jesse__ 1y ago
Honestly, I prefer the long-form first-cut that he dismisses to save 10 lines of code at the cost of using generics.
- jesse__ 1y agoOn a second skim it is nice that errors are surfaced at compile time, but honestly I'm not sure that's worth the complexity.
- kadoban 1y agoI feel like either one could be a reasonable choice, mostly depending on how complex the state machine is and how bad it is if it errors at runtime.
- joshka 1y agoShe, not he. https://www.linkedin.com/in/hoverbear/ https://www.linkedin.com/in/hoverbear/