Lessons
Scala · Easy
Scala · Easy. 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
Traits
trait, extends, with, abstract members, mixins.

Lesson 2
Abstract classes
abstract class, abstract members, vs traits.

Lesson 3
Companion objects
Same-name object, factories, private sharing.

Lesson 4
Apply and factories
def apply, User(…), hiding new.

Lesson 5
Option
Some/None, map, getOrElse, match on Option.

Lesson 6
map, flatMap, for-comprehensions
Functor/monad style on Option and List.

Lesson 7
Collections deeper
Vector, Set, filter, foldLeft, toList.

Lesson 8
Pattern matching deeper
Guards, sealed traits, exhaustiveness.

Lesson 9
Generics / type parameters
[A], Option[A], List[A], variance intro.

Lesson 10
Easy capstone
Traits + Option + collections + match composed.
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.