Skip to content

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:

  1. OpenJDK 11 (WSL/Ubuntu and Windows)
  2. IntelliJ IDEA (Windows) + the Scala plugin
  3. sbt

Topics

  1. Created a Scala project to display "hello world" in IntelliJ IDEA (a Scala/sbt project)
    • object
    • extends App
    • println
  2. Using sbt
    • compile
    • run
    • ~ + ~run
    • console
    • build.properties
  3. 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 values
    • val keyword
    • TAB completion
  4. 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

Back to top