Refactoring

An excellent post by Julian Bucknall of Developer Express on refactoring–more specifically the eight refactorings he uses most.  Of the ones he names, I use the 8th one (use string.format) the most.  As you might expect with inherited code, there are plenty of places where strings are concatenated with plus signs.  I root them out of every piece of code I rewrite, and highlight them in code reviews.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.