The article is surprisingly useful as I am a Grep fanboy. Refactoring your code that way will really make it easier to GREP. I like your take on this.