Archive for the ‘Refactoring’ Category

I’ve stopped using regions in my code.  And, to be honest, I’ve never looked back.  I don’t need them, don’t even miss them.  In fact, the more I go on coding without attempting to group my methods, properties, etc., into sections of magically collapsible text, the more convinced I am that regions are unnecessary. Requisite […]

Refactoring, rewriting existing code to make it as small, efficient, and ultimately as testable as possible, is something of a double-edged sword.  In the Test-Driven world, it’s an absolute necessity.  In the non-TDD world, however, it becomes a potentially very dangerous activity that can make things worse off than where you started. If Only I […]