Introduction
Prelude: A taste of Scala
Getting started
Scala features
Hello, world
Hello, world (version 2)
The Scala REPL
Two types of variables
The type is optional
A few built-in types
Two notes about strings
Command-line I/O
Control structures
The if/then/else Construct
for loops
for expressions
match expressions
try, catch, finally
Classes
Auxiliary class constructors
Default values for constructor parameters
A first look at methods
Enumerations (and a Pizza class)
Traits (introduction)
Using traits as interfaces
Using traits as mixins
Abstract classes
Scala collections
ArrayBuffer
List
Seq
Map
Set
Anonymous functions
Methods for sequences
Methods for maps
Miscellaneous
Tuples
Scala + Swing
An OOP example
A Scala + JavaFX example
SBT and ScalaTest
The Scala Build Tool (SBT)
Using ScalaTest with SBT
Writing BDD style tests with ScalaTest and SBT
Functional programming
Pure functions
Passing functions around
No null values
Companion objects
Case classes
Case objects
Functional error handling
Concurrency
Akka Actors 101
Akka Actors 201
Scala Futures
Coming soon ...
About
Disclosure
Published with GitBook
Miscellaneous
A Few Miscellaneous Items
In this section I’ll cover a few miscellaneous items about Scala:
Scala tuples
A little example of using Java Swing with Scala
A Scala OOP example of a pizza restaurant order-entry system
results matching "
"
No results matching "
"