Handling setting different profiles between different environments

2012-08-14 Thread Dave Kincaid
Being new to functional programming and Lisp in particular there is something that's been bugging me for a while. How do people handle having different configurations during development for development, testing and production? For example, things like data sources, server names, etc are often

Re: Handling setting different profiles between different environments

2012-08-14 Thread Sean Corfield
On Tue, Aug 14, 2012 at 5:49 PM, Dave Kincaid kincaid.d...@gmail.com wrote: So I'm wondering how others handle this. In one project recently I setup a global map using ^:dynamic and then switched in the appropriate map from a command line argument. This somehow doesn't seem the right way to do

Re: Handling setting different profiles between different environments

2012-08-14 Thread Dave Kincaid
Thanks, Sean. I really like that approach. I wasn't even aware of the delay macro. Very cool. So much awesome stuff in Clojure I feel like I'll never learn it all. On Tuesday, August 14, 2012 8:33:49 PM UTC-5, Sean Corfield wrote: On Tue, Aug 14, 2012 at 5:49 PM, Dave Kincaid

Re: Handling setting different profiles between different environments

2012-08-14 Thread Nelson Morris
On Tue, Aug 14, 2012 at 7:49 PM, Dave Kincaid kincaid.d...@gmail.com wrote: Being new to functional programming and Lisp in particular there is something that's been bugging me for a while. How do people handle having different configurations during development for development, testing and