Scala Basics workshop
This talk has been (or will be) presented at:
This will be an introductory introduction into a Scala ecosystem. If you don't know Scala language it's the workshop to attend. We will be using sbt but also there will be some examples about how to use the Scala REPL - sometimes it can be an useful tool.
During this workshop I want to show differences between val
and var
, how to create classes and traits, why case classes are so cool. We will learn how to implement enums in Scala (without using Enumeration
) and why Option
is better than throwing exceptions. Also I will try to explain why overusing tuples is a bad idea and .flatMap
is something that you must use all the time.
What do you need:
- installed JDK 8
- knowledge how to use
git
- IDE or text editor of choice
git clone git@github.com:lukaszlenart/scala-basics.git
A link to the full repo: https://github.com/lukaszlenart/scala-basics