Noticing more refactorings

Ever since I started my Daily Refactorings I’ve been noticing more and more little things to improve code. The nice thing is that I’ve built up the confidence to tackle the easy ones the moment I see them. Like this one I found while working on a new Redmine plugin for a client. It’s nothing big, but it fixed some duplication in Redmine that would have caused me to duplicate even more code in my plugin.

If I can keep this up for a few more months, I think I’ll be able to handle even the largest refactorings and code bases with ease.