September 2021
Beginner
560 pages
10h 49m
English
In unit 3 you learned how to create an HTTP server that consumes GET requests. In this unit, you’ll discover how to implement an HTTP server with POST requests to play the game “Paper, Rock, Scissors, Lizard, Spock!” In particular, we will discuss the following subjects:
Lesson 19 illustrates what case classes are and how to use them to make your data representations immutable. You’ll also learn how pattern matching supports case classes thanks to their unapply function.
Lesson 20 teaches you about higher order functions, one of the most useful types of functions in Scala. You’ll see how you can use functions both as parameters and return values of other functions.
Lesson 21 introduces you to the ...
Read now
Unlock full access