Comment

Comment by DanielVZ

I think the issue most of the time is that you only start with two states, and you can avoid complexity by not implementing a FSM.

But suddenly requirements change, and you have 4 or 5 new states that could go back and forth. The original approach ends up being way more complex than implementing a FSM in the first place; or even, than implementing the FSM when you add a third state.

parent DanielVZ 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton