Start
This part puts Scala on the machine and a first program in a folder: what the language is and where it is used, the JDK and scala-cli it needs, the system install pages, the first program, the runner in full, and the step from a source file to a class file that java starts.
Nothing in this part needs a build tool. Every program is one file, and the command that runs it is short enough to type.
002
What Scala is
the JVM it shares with Java, where the language is used, and what it adds
Open
003
Install Scala and check the version
the JDK, scala-cli, the system install pages, and the version lines read line by line
Open
004
The first program
an @main method, println, the arguments of a program, and the value it returns
Open
005
scala-cli, directives and scripts
run a file or a folder, the //> using directives, a .sc script, and the REPL as steps
Open
006
scalac, java -cp and Java side by side
compile ahead of time, read the class file with javap, and compare the same task in both languages
Open