Sometimes you need to slow down to go fast. - Jeff Olson Do you ever feel like your code is a mess? Have you spent hours trying to figure out how to clean it up but just can't seem to find the...
Category: Refactoring
Developers often create long methods when a project has been in the works for some time without a clear idea of how it will be structured or if later features will be added. These methods can be hard...
There are only two types of issues in the codebase. Some issues, like bugs, are so bad that you should remove them immediately. They cause the application to behave incorrectly and usually lead to...
The Hands-Down Best Approach to Reduce Number of Method Parameters
I’ve been a programmer for about a decade now. And one thing that’s always frustrated me is the methods that have five, six, or even more parameters. You know what I'm talking about: it's like...
If you’re a programmer, you might have heard of refactoring. Refactoring is the process of changing the internal structure of the code to make it easier to read and maintain. Moving methods is a...
If you're a programmer, you're probably familiar with the Extract Method technique. This is a very helpful refactoring that can be used when you need to modularize a piece of code that's getting...