Refactoring
-
Software Development
Types of Duplication in Code
One of the biggest reasons to refactor code is to eliminate duplication. It is pretty easy to introduce duplication in…
Read More » -
Software Development
Small Refactorings are OK
Many programmers seems to get caught up on the idea of refactoring. Most of us are familiar with the Boy…
Read More » -
.NET
Refactor “if” statements – functional programming style
Have you ever seen code that look like this: public string GetStatusDescription(Model model){ if(model.HasProblemReports) { return "Errors"; } if(model.SystemState.WorkingMode ==…
Read More »