Hacker News new | ask | show | jobs
by blain_the_train 2163 days ago
The repl is another tool. I can and do run my tests in the repl. I can set my tests to run everything I change a fill, now the repl has enhanced my tests.

The reason the repl is widely used in clojure is because it's the fastest way to get feedback on ridge code.

I draw a sightly superficial line between ridge and dynamic code. Ridge code would be like an API call to get very specific specific results, here the repl is better then a unit test, for it would be too much for code and time to capture your specific API call results, namely because you haven't really tested anything much larger than a couple data points.

So, it's the opposite, unit tests are often used because languages lack a repl.