short scala practises to start the day with
Import build.sbt in your favorite IDE, or just use sbt test
Start with Practise0.scala
Things that don't go weel with unit tests: making new classes/objects/traits imports
alles: https://twitter.github.io/scala_school/ pattern matching: https://kerflyn.wordpress.com/2011/02/14/playing-with-scalas-pattern-matching/
Chapter 1 - Basics https://twitter.github.io/scala_school/basics.html #Lastig om hier compilerende testen bij te maken. Beste maar even zelf voordoen. #Of iets maken wat wel compileert maar helemaal fout is? classe maken / gebruiken constructor object maken / gebruiken val var def
Chapter 2 - Collections List :: Methods on collections. https://twitter.github.io/scala_school/collections.html
Chapter 3 - flatMap Difference between map & flatMap. Introduction to monads. Futures have flatMap!
Chapter 4 - Pattern matching case classes objects lists with :: with if
Chapter 5 - Recursion
Chapter 6 - Linked List We'll make our own linked list implementation