Posts Tagged “refactor”
An often overlooked (perhaps) way to write cleaner if condition statements. This is not about having to go through all the refactoring into a Factory pattern, Switch statements, and other possible conditional logic methods just to avoid our classic if condition. Rather merely making it look better, when the scenario is right for it. Of…