Legacy Code to Testable Code #8: Convert If-Else’s to Guard Blocks
I know, you want to check out the rest of the series. Here are the links: Code simplification is one of the best things we can do for ourselves. If we understand the code, not only will we write simpler tests, we will make less mistakes. Problem is, we’re now Read more…