3 ms·
Can you share what your current solution looks like for something like that? > But I rarely see mention of messier problems which consist of overlapping and pe
by rubyfan 3y ago
Can you share what your current solution looks like for something like that?
> But I rarely see mention of messier problems which consist of overlapping and perhaps hierarchical states.
Your comment resonated with me relative to regulated financial services where a relationship with a customer has many states can can be independent or intertwined depending on regulatory environment and subject matter i.e. status and renewal of terms of a contract/agreement, billing/payment, different pricing revisions, etc.
- winstonprivacy 3y agoBasically, lots of if...else statements combined with coroutines. Refactoring out as many big blocks of code helps a bit, but there's always yet another exception lurking in the shadows, waiting to show up at the least opportune time (such as when the system is under stress).