Environment Variables Considered Harmful

If you are getting your configuration from environment variables you are in trouble. You should always use commandline parameters to make the configuration explicit. On the other hand it seems acceptable to use envrionment variables as default values for those parameters.

To rephrase it: If you have dependencies make them as obvious as your programming model allows you to. Beware of side effects. And Death* to all the motherfuckers using non-constant static fields in java programs!

*) read unemployment

This entry was posted in Software, alt, Tiraden. Bookmark the permalink.

One Response to Environment Variables Considered Harmful

  1. Arne says:

    Tsts, angry young man, watch your language. You’re really getting very… say, explicit in your latest Tiraden.

Leave a Reply

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