Re:Cyclic dependencies are evil (2013)
by Smaug123 on Sunday January 31, 2021 @03:11AM
(#25977069)
I've got a half-cooked blog post about this in the oven: "reify the state machine". I've seen plenty of code with lots of communicating parts, which is really a distributed implementation of a state machine. Rewriting to make the states explicit as data, and perhaps creating a central "state machine" type for that machine, can really help clarify the domain model and let you see what you're missing.
[ Parent
| on HN ]
There are no comments on this comment yet.