|
|
|
|
|
by sk0g
2215 days ago
|
|
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. |
|
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.