Sometimes a Bool Isn't the Answer: Two-Value Enums in Swift
Booleans are simple, but sometimes they create more confusion than they solve. When `false` doesn't have an obvious meaning, a two-value enum might be the clearer choice.
Read More
Tech blog posts
Booleans are simple, but sometimes they create more confusion than they solve. When `false` doesn't have an obvious meaning, a two-value enum might be the clearer choice.
Read More