3 Patterns for Refactoring Your Code
When I review code written by people who are relatively new to programming, I find myself often repeating the same advice. There are many patterns we adopt as we learn to code that we have to unlearn or modify once we become more comfortable with the fundamentals. In this post, I'd like to highlight three common patterns I see, and how you can refactor them to write code that is more readable, and often more concise.