Home - reidev275/SignsYouShouldProbablyRefactor GitHub Wiki

A list of signs that you should probably refactor. This list is in no particular order and is designed to be somewhat controversial. Are there times when breaking one or more of these is warranted? Sure, that's why the title is "Signs you should probably refactor". This list is simply codification of thoughts that go through my head as I write, refactor, and review code.

Method Construction

Solid Principals

Encapsulation/Scope

.NET specific

  • You have a class that has to implement IDisposable