|
|
|
|
|
by grogenaut
4566 days ago
|
|
The type of code swapping you are doing with the repl, eg coding on the fly in the prod systems, and the type you are doing with erlang are completely different. Erlang does have a much better deployment story than jvms as far as code swapping. But AFAIK Clojure is compiling to bytecode and is under the same constraints as the JVM that it is hosted in. |
|
This is true for certain features (protocols, records, and gen-class, which are easy to avoid for everything but high-performance bottlenecks and legacy interop), but vanilla Clojure functions are built around vars, which are specifically designed to support reloading.
edit: it's still primitive compared to Erlang, but it's miles beyond Java.