|
|
|
|
|
by reddit_clone
386 days ago
|
|
There is no hard and fast rule (for me). It is easy to start creating objects in the repl (say if you are testing an API) and work with those created objects in the repl, one step at a time. You are able to observe the behaviour of the objects every step of the way. This gives you a much better idea when you are writing the functions (usually copy-pasting from repl) in the editor. I am sure it can be done from the editor itself. (say using the 'comment' block in clojure). It is just matter of preference. |
|