What would be advantage of using VS Code over IntelliJ for Scala?
Nice style suggestions that do not nag. Instant ScalaDoc generation. Pretty much picks up on all my brain farts.
I imagine it is because of deep integration with JVM - after all IntelliJ started with Java.
By comparison VS Code is just an editor underneath without the I in IDE.
Theoretically VS Code is a bit like emacs or vim, you can set it up to do everything for your language but it takes a lot of tweaking.
Follow-up: How do you transition to productionizing your code after iterating in them?
I tend to not view it as a replacement for an ordinary code file, but as a replacement for a REPL session. It has several advantages:
* Keeping track of your previous commands in a file is much more convenient than keeping track of it in your input history of the REPL.
* You can keep re-editing previous lines easily, and you can see the output of all lines.
* There is no hidden state (unlike a REPL). Everything is run from scratch every time.
* It's easier to define helper functions than in a REPL.
* It's easier to turn a worksheet into a unit test than it is to turn a REPL session into a unit test.
That said, it's also possible to start writing a module in a worksheet, and then turn it into an ordinary code file later.
Worksheets aren't perfect yet; I can think of many improvements, but they're already very useful to me. I think the end game will be to merge the concept of worksheet, unit test, debugger, printf debugging, and ordinary code file into one system, like Sean McDirmid's usable live programming research work (which in my opinion remains one of the most underrated research projects).
* Powerful functional features
* Powerful OO features
* Imperative features
* Powerful type system
* Great stdlib
* Great syntax
* Very fast write/test cycle with worksheets, way better than a REPL
* Great IDE features such as autocomplete
Scala may not be the best on any one axis, but the combination is unparalleled.