Replacing Bool parameters with two-case enums turns cryptic calls like stopAnima...

@twostraws@mastodon.social

Replacing Bool parameters with two-case enums turns cryptic calls like stopAnimation(false) into self-documenting code like stopAnimation(.performingFinalActions). It's a small change that makes a surprising difference to readability. hackingwithswift.com/articles/