Clean code: The curse of a boolean parameter
Alex Curran describes how Bools can sometimes be a source of unwanted complexity in our code. He looks at the example of a method which takes a Bool parameter, and shows us how to refactor it to reduce it’s complexity.
Posted on September 11, 2017 |
← Previous Post
Next Post →