📊 Scala
Learn Scala from the Basics
Scala — the JVM language that brings object-oriented and functional programming together — taught from the ground up across 20 lessons. Since Scala is compiled rather than run in a browser, each lesson checks whether what you typed matches the reference code, giving you instant feedback without ever leaving the page.
What is Scala used for?
Scala was released in 2004 by Martin Odersky, and runs on the Java virtual machine, so it can use the entire Java ecosystem directly. It is best known outside the JVM world as the language Apache Spark is written in, which has made it a fixture of big-data work. Immutable values, pattern matching, and higher-order functions let you express a great deal in very little code.
Common uses & related roles:
- Big-data processing with Apache Spark
- Large-scale backend development
- Distributed systems development
- Data engineer
📊Scala Lessons
- 01Setting up (what you'll need)
- 02Your first output (println)
- 03Variables (val and var)
- 04Type annotations and basic types
- 05Branching (the if expression)
- 06Repeating (the for expression)
- 07Writing your own function
- 08Repeating (the while loop)
- 09Working with lists (List)
- 10Working with maps (Map)
- 11Classes (object orientation)
- 12case class
- 13Inheritance and traits
- 14Pattern matching (the match expression)
- 15The Option type (null safety)
- 16Higher-order functions, map and filter
- 17object (singletons)
- 18Strings and string interpolation
- 19for comprehensions
- 20[Project] Build a small inventory system
Ad space (in-article)
