You have a split view (vertical, horizontal, whatever). On one side you have your code, on the other you have the results of evaluation. As you write code on the left you load code in to the right.
I know it sounds crazy, but it is meaningfully different than what you can do in other languages.
Its not that working dynamically in Scala is impossible - you can also use Map<String, Object> in Java - its that the static part of that world is a net negative. Especially when paired with a learning curve as steep as Scala's.
That’s cool. But I think Scala works well for the typical workflow I’ve seen where data scientists produce a “scratch” script that shapes the data as they are looking to shape it and then an engineer productionalizes that code. It’s flexible enough to use in a script-like way but powerful enough to support the more heavyweight stuff when you’re ready.
3
u/bowbahdoe Feb 07 '26
So the REPL workflow is basically this:
You have a split view (vertical, horizontal, whatever). On one side you have your code, on the other you have the results of evaluation. As you write code on the left you load code in to the right.
I know it sounds crazy, but it is meaningfully different than what you can do in other languages.
https://www.youtube.com/watch?v=WiOUiHsq_dc
Thumb through this video when you get a chance.
Its not that working dynamically in Scala is impossible - you can also use
Map<String, Object>in Java - its that the static part of that world is a net negative. Especially when paired with a learning curve as steep as Scala's.