Enums Instead of Booleans

Andrew Bancroft builds on the post Enums Instead of Booleans:

“What I’d like to focus on here is the implementation of the thing that produces those values for the switch-case that will consume them later on.”

As it relates to coding with clarity, both posts are worth a read.