News for hackers. Stuff that matters.
Re:REPL Driven Design by sk0g on Thursday May 28, 2020 @01:52PM (#23340251)
I kind of practice REPL driven development in Go actually. I usually write 1-2 functions at a time, and simply test them by repeatedly running the program, with tests happening in an init() function.

When everything's well again, I move the bits to a test case.

Re:REPL Driven Design by capableweb on Thursday May 28, 2020 @02:41PM (#23340807)
I guess my point would be that with a REPL driven development in Clojure, there is no moving, as the code is already where it should be, you just executed it from there directly.

And you don't need to extract anything into functions, lisp-syntax kind of already gives you all the separation you need, so you can just execute code in place if you need it to.