3 ms·
Have the ergonomics of Scala improved with version 3? I‘m planning on revisiting Scala at some point
by melling 5y ago
Have the ergonomics of Scala improved with version 3?
I‘m planning on revisiting Scala at some point
- eeperson 5y agoYes, a large part of Scala 3 was explicitly about improving ergonomics and making language features clearer to use. Some examples of this are: - Greatly improved error messages [1] - Revamped implicit syntax that makes it more straightforward to declare type classes and extension methods. [2] - Simplified support for macros [3] [1] - https://www.scala-lang.org/blog/2020/05/05/scala-3-import-suggestions.html https://www.scala-lang.org/blog/2020/05/05/scala-3-import-su... [2] - https://dotty.epfl.ch/docs/reference/contextual/type-classes.html https://dotty.epfl.ch/docs/reference/contextual/type-classes... [3] - https://docs.scala-lang.org/scala3/guides/macros/index.html https://docs.scala-lang.org/scala3/guides/macros/index.html
- nsonha 5y agooptional braces if you are into that sort of thing. https://docs.scala-lang.org/scala3/reference/other-new-features/indentation.html https://docs.scala-lang.org/scala3/reference/other-new-featu...