This workshop is targeted at beginners that would like to learn Scala, but are already familiar with programming using other languages.
The first section of this workshop would be dedicated to an introduction to the Scala language. You will learn the basics of syntax, operations on Scala collection, and error handling. In this part, you will also understand how pattern matching and implicit values work in Scala and how to use them. You would also be introduced to concurrency in Scala using Futures.
In the second part, you will learn how to work with Scala CLI – a minimalistic tool for interacting with Scala which is perfect for beginners and small single-module projects. In this part, you will learn how to use this build tool to compile and test your code, as well as how to use library dependencies.
In the next module, we will combine all the gained knowledge to create a simple Web application based on the integration with the public REST API of a popular music streaming service. The goal of this section is to create a game, in which you will need to guess the name of the song that would be played for a short period of time on your device. In this part, you will also be introduced to some of the commonly used Scala libraries for working with HTTP clients and servers and utilities to work with JSON.
The last section would be dedicated to implementing your own ideas for the project – extend existing examples or create something completely new from scratch. Mentors in that part would answer all your questions and would help you in case of any problems. Use this time to experiment with Scala.
- REST, HTTP requests
- Recommended experience with Object-Oriented and/or Functional Programming