Tamas Herman wrote:
> Are there any serious drawback of having the facts right next to the
> implementation?
I used to have tests and code in the same source, but now I follow the
conventional separation (`/test` and `/src`) for these reasons:
1. Tools expect it, and they get confused or unusable without it.
2. People expect it, and they tend to be put off by seeing something
different.
3. I actually find the context switching between code and test more
difficult when they're in the same file. That's because I have fixed
Emacs windows for the code and test, so the switch less often requires
scrolling. My layout is described here:
http://about.getset.com/developer-blog/2014/12/1/my-clojure-micro-workflow