Thursday, July 08, 2010

Please seperate configuration from code

When configuration and code are managed together it means that I can't test old code because it's configuration no longer matches the current environment. It is extremely frustrating when my assignment is to find a performance regression.

I guess this supports the idea that even in small environments where you control everything, you should support discovery in your code. You shouldn't have to tell it everything. It should be able to find out most of what it needs from the environment itself.

No comments: