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 different when you're developing, testing and deploying to production. In Java-land the Spring framework profiles work really well for doing this. Just specify a profile name as a program argument and global variables are setup appropriately.
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 it. Any suggestions? Are there some projects out there that would be good examples of this? Thanks, Dave -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en