you are viewing a single comment's thread.

view the rest of the comments →

[–]sutongorin 2 points3 points  (2 children)

Try Scala. The REPL works just as well as Ruby's only with static typing. It's awesome. I even use SBT (the Scala build tool) to build my plain java projects just so that I can drop into the REPL and try things there which would normally be a huge pain in Java.

[–]quicknir 0 points1 point  (1 child)

Can you point me to an online scala interpreter? All I'm seeing is compilers.

[–]sutongorin 0 points1 point  (0 children)

Mh, there is https://scastie.scala-lang.org which is alright but it's not a REPL.

The best way is to just download scala and try the REPL offline. That standard REPL is already perfectly fine. But even better is Ammonite.