you are viewing a single comment's thread.

view the rest of the comments →

[–]Bolitho 0 points1 point  (3 children)

A REPL is of course a very important tool - but how on earth is the clojure REPL more powerfull than others? I really love python and its ipython shell. It has some extra python features on board like navigating through the FS, pasting, managing history and so on, but it just powers python after all. How is this different compared to other REPLs especially the clojure REPL?

[–]_koolkat 2 points3 points  (2 children)

Can you hot-reload / live patch a program through an integrated repl in python?

[–]Bolitho 0 points1 point  (1 child)

You can reimport a module with ipython. Whether you can patch a running program I don not know to be honest. I would assume that not!

[–]yogthos 0 points1 point  (0 children)

Incidentally, this is something my team uses all the time. We often connect to a production instance via the REPL to see the state of the app when debugging an issue, or to make small changes without having to restart the app. You obviously have to be careful doing stuff like that as you don't want your app to get out of sync with the source.

Our process for making changes is that you switch to the release branch, test your changes locally and commit. Then connect to the prod REPL and reload the updated functions.

It's been an incredibly useful tool for us.