←back to thread

Scala 3 slowed us down?

(kmaliszewski9.github.io)
261 points kmaliszewski | 10 comments | | HN request time: 0.201s | source | bottom
Show context
pjmlp ◴[] No.46183020[source]
The only issue I have with Scala 3 is Python envy, they should not have come up with a second syntax, and pushing it as the future.

If anything is slowly down Scala 3 is that, including the tooling ecosystem that needs to be updated to deal with it.

replies(4): >>46183121 #>>46183318 #>>46184223 #>>46187857 #
1. noelwelsh ◴[] No.46184223[source]
Everything is up to date with the new syntax as far as I'm aware. Also, the compiler and scalafmt can rewrite one to the other. A project can pick whatever style it wants and have CI reformat code to that style.
replies(2): >>46184694 #>>46187179 #
2. pjmlp ◴[] No.46184694[source]
When I checked a year ago, the IDE tooling still wasn't quite there.
replies(2): >>46185357 #>>46187641 #
3. spockz ◴[] No.46185357[source]
What I don’t get because there is LSP and BSP support. What else is needed to get support for scala 3 from an IDE? Obviously, Kotlin coming from Jetbrains will make it receive a lot more love and first class support.
replies(1): >>46185852 #
4. pjmlp ◴[] No.46185852{3}[source]
Parity with Scala 2 development experience, which was lacking a year ago.
replies(2): >>46195231 #>>46210558 #
5. lmm ◴[] No.46187179[source]
> Everything is up to date with the new syntax as far as I'm aware.

The Eclipse plugin isn't, and none of the newer IDE integrations is reliable.

replies(1): >>46210541 #
6. blandflakes ◴[] No.46187641[source]
I always find downvoting on stuff like this perplexing. It still isn't there. I know that a lot of Scala people are doing metals and some kind of text editor experience, but if you've used something as powerful as Intellij, the Scala 3 experience is a serious downgrade, and it still is today, even though it's better than it was a year ago.
7. theCodeStig ◴[] No.46195231{4}[source]
With Metals the Scala 3 development experience is better; plus one is no-longer tied to one specific IDE.
8. still_grokking ◴[] No.46210541[source]
There's still a working Eclipse plugin? Does Eclipse now support LSP servers?

The most reliable Scala IDE is currently Metals (in VSCode, but other editors work, too). Metals uses directly the compiler for all code intelligence so it's as reliable as the compiler itself.

https://scalameta.org/metals/

https://scalameta.org/metals/docs/#editor-support

replies(1): >>46212900 #
9. still_grokking ◴[] No.46210558{4}[source]
What are you missing currently?
10. lmm ◴[] No.46212900{3}[source]
> There's still a working Eclipse plugin?

For Scala 2, yes, or there was the last I looked. Still the best Scala development experience by some margin, sadly.

> Metals uses directly the compiler for all code intelligence so it's as reliable as the compiler itself.

Not my experience; maybe it theoretically should be but the integration/bridging piece is still flaky.