Hi guys, I'm learning Scala, following the "Programming in scala, 3rd edition" book. I'll upload some step by step scripts as introduction to the language.
Feel free to contribute :)
You just need to download and install Scala!
You can use the command line to run the scripts, like:
scala 01_hello.scala
This folder contains a simple introduction to Scala language. You can find scripts about Strings, Map, Mutable / Immutable objects/ Read File, etc..
A collection of how to use basic Scala Types.
Introduction to the concept of class and Singleton Object in scala. There is also an example on how to create a simple application with Scala!
Complete example of a Scala class used to manage Rational numbers!
Example on how to use functions:
- methods
- local functions
- first class functions
- partially applied functions
- function calls
Example on how to use composition and inheritance to work with classes, subclasses and superclasses.
Example on how to create and use Traits!
Simple how to create and use a package.
Two important ways we can use to check that the software we wrote behaves as we expect!
A complete overview of Scala's List!
Kata exercise from CodeWars