Re: How to avaoid regresssions in Clojure Applications

2015-12-07 Thread Timur
Thank you for your answers. Especially, thanks to Colin for such a detailed answer. Regards, Timur On Saturday, December 5, 2015 at 5:52:35 PM UTC+1, Magnus Therning wrote: > > > Timur writes: > > > Hi all, > > > > I'm using Clojure to build a set of services. > > > > Development with C

Re: How to avaoid regresssions in Clojure Applications

2015-12-05 Thread Magnus Therning
Timur writes: > Hi all, > > I'm using Clojure to build a set of services. > > Development with Clojure is fun but most of the time, I lose time with > fixing regressions due to changing small parts of the codes. Do you > have any best practices to avoid regressions occurring due to changes > in t

Re: How to avaoid regresssions in Clojure Applications

2015-12-05 Thread Colin Yates
Hi Timur, I find almost all of my pain is from changing shapes of the data that flows through the system. As you say “I pass the results in a map and each function updates the map” so even if you unit test each fn that doesn’t actually help because the tests provide the (now incorrect) data. St