Scala

Join the Scala Track
Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.
Join the Scala Track
Track mentors

17 Mentors

Our mentors are friendly, experienced Scala developers who will help teach you new techniques and tricks.
Track students

7,727 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

91 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Scala

object HelloWorld {
  def hello() = "Hello, World!"
}

Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.

  • Features
    • JVM Interoperability - Scala runs on the JVM, so Java and Scala stacks can be mixed for seamless integration.
    • Type Inference - Scala is statically typed. However, Scala provides type inference to ease the burden of an advanced type system.
    • Object Oriented - Scala is a pure object-oriented language in the sense that every value is an object. Data types and behaviors of objects are described by classes and traits. Class abstractions are extended by subclassing and by a flexible mixin-based composition mechanism to avoid the problems of multiple inheritance.
    • Functional - Scala is also a functional language in the sense that every function is a value. Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying. Scala’s case classes and its built-in support for pattern matching model algebraic types used in many functional programming languages. Singleton objects provide a convenient way to group functions that aren’t members of a class.
    • Concurrency & Distribution - Use data-parallel operations on collections, use actors for concurrency and distribution, or futures for asynchronous programming.
Join the Scala track

Exercism is a great website

Exercism is a great website where I was able to have some very interesting challenges.

Relaxed. Encouraging. Supportive.

Meet the Scala Track mentors

Once you join the Scala language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Bastien Lemale

Bastien Lemale https://github.com/blemale

I've written Scala professionally, and also use it for open source projects. Currently I'm working with Java. And I'm also a Rust enthusiastic.
Avatar of Raphael Bobillot

Raphael Bobillot https://github.com/rbobillo

As a Scala Technical Officer @ CarbonIT, I just love working with Scala (the Category Theory way haha) and its awesome ecosystem
Avatar of Peter Perhac

Peter Perhac pete's blog

Sucked into programming at the age of 11. Worked with several different tech stacks. Currently I work on Scala projects and tinker with Haskell in my spare moments. I want to help _you_ to fall in love with Scala / FP as much as I did.
Avatar of Rutger Claes

Rutger Claes https://github.com/rutgerclaes

I really like working in Scala. It allows me to come up with elegant, functional code that is also concise and type safe.
Avatar of Greg Stromire

Greg Stromire https://github.com/gstro

I learned to program on embedded devices, and later moved to iOS development in Objective-C and Swift. Most recently, I've been exploring functional programming in Scala. I'm interested in security principles and applied cryptography. And if I can ever find some spare free time, I would love to try out Rust!
Avatar of Avremel Kaminetzky

Avremel Kaminetzky Personal Website

I enjoy the functional/immutable style of Scala.
Fun. Challenging. Interesting

Community-sourced Scala exercises

These are a few of the 91 exercises on the Scala track. You can see all the exercises here.

Scrabble Score
easy
strings
transforming
Nth Prime
medium
algorithms
optional values
math
Prime Factors
medium
algorithms
integers
lists
math
All Your Base
medium
integers
lists
optional values
transforming
math
Collatz Conjecture
easy
recursion
math
Dominoes
medium
games
lists
optional values
tuples
Passionate. Knowledgeable. Creative.

Meet the Scala Track maintainers

The Scala Maintainers are the brains behind the Scala Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Erik Schierboom

Erik Schierboom My blog

This maintainer has not added their bio yet.
Avatar of Ric Emery

Ric Emery

This maintainer has not added their bio yet.

Get started with the Scala track. As with everything on Exercism, it's 100% free!

Join the Scala Track