scala-cli is becoming the new scala.
Scastie works like the REPL and uses sbt. It also sends your code somewhere to be compiled.
Significant Indentation Syntax in Scala 3 is different from Scala 2. It is easier to read, especially in books, but not the Scala standard.
Comments in Scala are the same as C, Java, and most other languages.
[
Collection
]
[
|
...
]