Get the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with
Brian KernighanTrivia rarely affect efficiency. Are all the machinations worth it, when their primary effect is to make the code less readable?
Brian KernighanThe most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
Brian Kernighan