DEV Community

Discussion on: Keeping your code clean by sweeping out "if" statements

 
tomazfernandes profile image
Tomaz Lemos

Hi Brian and Amanda, I agree with you that context may change the applicability of one pattern or another. Most people seem to have liked the code examples, but perhaps I could have taken a better approach in presenting them, to generate less of an "us versus them" response. In the end we're all developers trying to write better code! It's been a really helpful and informative discussion though. Thanks for your feedback!