Is there a way to reduce compile / test cycles lik...
# announcements
j
Is there a way to reduce compile / test cycles like REPL or Hot Reload with Kotlin? only thing I saw is jrebel
v
Yes, there is a REPL. There is even a web-based REPL.
And I guess Hotswap should work just like for Java
j
can you really develop a whole app just with the repl?
redefine functions?
v
Why should you want to develop an app with the repl? It is a repl.
repl = read evaluate print loop
It is for ad-hoc trying out things
Like a commandline in which you type Kotlin
j
i'm coming from clojure, where repl is quite powerful
v
I know Clojure only from name, so I cannot compare
j
hotswap looks a lot like jrebel (?)
do you know the difference
v
Afair there is also a think called Jupyter
No, Hotswap and JRebel are fundamentally different things
j
http://hotswapagent.org/ this is what you use?
i'm reading about it
so you can change method code while it's running
v
If you have a debugger attached to a process it can exchange classes for which the API did not change, but only method bodies for example
You don't need any specific agent for that, just a decent IDE like IntelliJ
j
hm ok, sort of what I had in mind
v
With JRebel afair you can exchange whole classes even if their API changed, but it probably has other cons, never used it, just read about it
j
yah jrebel you can do that
sometimes it seems like complete magic what it can hot reload, I don't get it
v
Hotswap or JRebel?
j
jrebel
but it's also like 500/year
for a license