Scala rewards a month of steady, unglamorous work. This plan assumes 45 minutes on five weekdays plus one two-hour weekend session — roughly 15-20 hours across four weeks — and it ends with a 200-300 line program you built yourself rather than copied.
Week 1: install once, then run something every day
Install three things and stop: JDK 21 (the current LTS), sbt 1.10.x, and an editor with a Scala plugin. Budget 20 minutes for the first sbt run on its own — it pulls 300-500 MB of dependencies before it prints anything useful, and on a slow connection that looks exactly like a hang.
Days 1-2: open sbt console and evaluate 1 + 1, "abc".toUpperCase and List(1, 2, 3).sum. Days 3-5: create src/main/scala/Main.scala containing @main def run(): Unit = println("hello") and run it with sbt run five separate times. Boring, and it removes every setup problem before it can masquerade as a syntax error.
The rule for the entire month: never shut the laptop with code that does not compile. Comment it out or delete it first. A red build waiting on Monday morning costs more than the experiment was worth.
Week 2: six ideas, twenty expressions a day
Spend the second week on six things and nothing else: val versus var (use var zero times), blocks as expressions, def with an explicit return type, if/else producing a value, string interpolation with s"...", and reading type annotations aloud until they stop looking like noise.
Practise in the REPL, not in files. Write 20 one-line expressions a day for four days — val n = 3, def double(x: Int): Int = x * 2, s"$n doubled is ${double(n)}". Twenty a day is 80 by Friday, which is more Scala than most people write in their first fortnight of watching videos.
Week 2-3: pattern matching and case classes
These two features are why people stay with Scala. Define case class Point(x: Int, y: Int), then match on it with a wildcard case _ => fallback. Then define a sealed trait Shape with three case classes extending it and watch the compiler warn you about a non-exhaustive match — that warning is the language doing your testing for you.
Ten small exercises is the right dose: describe a shape, parse a two-word command string, return a default when a lookup fails. If you can write a match with four branches without checking the syntax, you are on schedule.
Week 3: collections, drilled for four days
map, filter and foldLeft cover most of what you will write for months. In the REPL, run List(1, 2, 3).map(_ * 2), then filter(_ % 2 == 0), then foldLeft(0)(_ + _) — and then write the same three by hand with a var and a while loop once, purely so you can see what the one-liners replace.
Thirty minutes a day for four days, changing the seed value and the predicate each time. Leave flatMap, groupBy and collect until week five; they will still be there.
Week 3-4: build one program, 200-300 lines
Pick a single job: read a CSV file, print the row count, the average of one numeric column and the top five rows by that column. Keep it in one or two files, cap it at 300 lines, and use scala.io.Source plus Try for parsing so one bad row does not kill the run.
Commit every day, even when the diff is four lines. By the end of week four you should be able to delete the compiled output, run sbt run, and get the same answer — that reproducibility is the real deliverable, not the CSV summary.
Week 4: ten tests, no more
Add MUnit as your single dependency and write ten tests: five for the parser, three for the averaging, two for the empty-file case. sbt test should finish in under 10 seconds; if it takes 30, the problem is your build, not your tests.
Ten is deliberate. A hundred tests in month one is procrastination dressed as rigour.
What to deliberately skip
Do not touch givens and using, type classes, macros, effect systems, actor libraries, Scala 2.13 syntax, or build customisation beyond adding one dependency. Each of those is a two-to-four week detour, and every one of them makes sense in month three and is miserable in month one. If a tutorial opens with given and using, close the tab.
When it breaks: symptoms, causes, fixes
sbt sits on "Loading project definition" for ten minutes. Likely cause: first-run downloads, or JAVA_HOME pointing at an older JDK. Fix: run java -version, confirm 21, then let it finish once on a stable connection.
"type mismatch: found String, required Int". Cause: everything read from a file arrives as String. Fix: convert at the boundary with Try(s.toInt) or s.toIntOption, not halfway through your logic.
"match may not be exhaustive". Cause: a missing case in a sealed hierarchy. Fix: add the case; do not silence it with a wildcard unless the wildcard is genuinely correct.
"value map is not a member of String". Cause: usually a missing .toList or a stray parenthesis, occasionally a Scala 2 versus Scala 3 tutorial mismatch. Fix: check the version on the tutorial's first line, then rebuild.
Compiles take 30+ seconds on a small project. Cause: more than three or four dependencies, or a corrupted incremental cache. Fix: trim dependencies and run sbt clean compile once.
FAQ
Do I need to know Java first?
No. You need to recognise a type annotation and understand that the JVM is what runs your code. If you have used any typed language — TypeScript, C#, Kotlin — the first month is mostly vocabulary.
Should I learn Scala 2 or Scala 3?
Scala 3, unless your employer's codebase says otherwise. New projects should start on 3.x: the syntax is cleaner and the error messages are better. Older tutorials exist in large numbers, which is the main reason beginners get confused.
How do I know I am on track at the end of month one?
You can write a match on a case class without looking anything up, you can turn a List[String] into a List[Int] with Try, and sbt run on your own 200-line project produces output you can explain line by line. If two of those three are true, you are fine.