I'm a bit more TDD inclined than the average Clojurian (having come over most recently from Ruby/Rails) and I have to say speed is king in TDD. I agree that source maps are life savers when you need to debug an issue in browser, but I don't really see how they'd be all that useful in the average TDD workflow.
So... +1 for whitespace and no source map == speed. On Monday, January 27, 2014 3:34:04 AM UTC-5, Magomimmo wrote: > I do not practice TDD a lot, but I think that thanks to recent events > clojurescript will attract people more sensible to TDD workflows. > > > > Due to a limitation of austin and clojurescript.test regarding :none > optimisation, it's not possible to use it with them. So we have to switch to > :whitespace (or one of the others). > > > > But if we use :whitespace (or one of the others optimisation options) its > compilation/recompilation time it's very slow compared to :none when paired > with :source-map. > > > > By renouncing to :source-map option, the :whitespace > compilation/re-compilation time is very fast again. > > > > The question for TDD practitioners is the following: > > > > How fundamental is the availability of cljs's source-map in a TDD workflow? > Could we renounce to it in favour of a quicker TDD loop? Do you see any > drawback in a TDD scenario for not having the source-map? > > > > Honestly, I use source-map rarely (never in a TDD workflow) and only for > debugging purpose because it allows me to set breakpoints and inspect > bindings. It seems to me that renouncing to source-map in a TDD workflow is > not a big deal. > > > > Am I correct? > > > > Thanks > > > > Mimmo -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.