Day 1 / Mar 1 (Tue)¶
Operating System¶
The workshop is on Windows 11 with Windows Subsystem for Linux (WSL) / Ubuntu.
Development Tools¶
Installing the development tools:
- OpenJDK 11 (WSL/Ubuntu and Windows)
- IntelliJ IDEA (Windows) + the Scala plugin
- sbt
Topics¶
- Created a Scala project to display "hello world" in IntelliJ IDEA (a Scala/sbt project)
object
extends App
println
- Using sbt
compile
run
~
+~run
console
build.properties
- Scala REPL using
sbt console
build.sbt
to set the Scala version- REPL = read-eval-print loop
- Scala types (String, Integer, Long, Char, Boolean)
res
valuesval
keyword- TAB completion
- Scala for the Impatient book
- Parts of Chapter 1 "The Basics"
- Up to and including the Exercises on page 11
- Optional parentheses for methods with no parameters
- Optional semicolon
Working Hours¶
Day: Mar 1
10:30am - 4pm in the office