In your are working toward a true state machine and want to refactor code that isn’t comprised of pure functions, do you need to refactor with-else and if-else? If so, what’s the recommended best practice?
Also I was thinking this might be the case for “case” until I learned it was a macro for a group of functions.
Any assertions on my part have not been tested so please correct the premise of my question if I’m totally off-base.