News for hackers. Stuff that matters.
Re:Flags Are a Code Smell (2014) by lloydatkinson on Sunday May 22, 2022 @05:16AM (#31466291)
Creating many boolean states leads to an explosion of complexity and states. You can use a finite state machine to replace these states as I wrote here: https://www.lloydatkinson.net/posts/2022/modelling-workflows...

There are no comments on this comment yet.