Lessons
Scala · Introductory
Scala · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Hello Scala
object, def main, println, run basics.

Lesson 2
vals and vars
Immutability default, inference, explicit types.

Lesson 3
Types and expressions
Int/String/Boolean/Double; if returns a value.

Lesson 4
Functions
def, parameters, return types, =, Unit.

Lesson 5
Strings
s"..." interpolation, multiline, basic methods.

Lesson 6
Lists
List, ::, Nil, head/tail, map/filter.

Lesson 7
Tuples and Maps
(a, b), Map, get / getOrElse.

Lesson 8
Classes and objects
Simple class fields/methods vs singleton object.

Lesson 9
Case classes and pattern match
case class, match with case.

Lesson 10
Capstone
vals, functions, List/map, case class together.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.