Sinopsis
• Chapter 1 - Scala Language
o Introduction
o Getting to know Scala
o Why learn Scala
o Scala and Java
o Interoperability with Java Libraries
o Verbosity - Scala and Java
o Scala - A statically typed language
o Apache Spark and Scala
o Scala performance benefits
o Learning Apache Spark
• Chapter 2 - Installing Scala
o Introduction
o Checking Scala installation status in your system
o Verifying Java development kit (JDK) installation status
o Installing Scala in Windows
o Verifying Scala installation status
o Exercise
• Chapter 3 - Using Scala Shell
o Introduction
o Getting help in Scala shell
o Hello world in Scala REPL
o Understanding hello world in Scala REPL step by step
o Real life example: Usefulness of Scala REPL's data type highlighting feature
o Paste mode in Scala REPL
o Retrieving history in Scala REPL
o Auto-completion feature of Scala REPL
o Exiting from Scala REPL
o Exercise
• Chapter 4 - Variables
o Introduction
o Immutability of objects in Scala
o Defining variables (Mutable and Immutable) in Scala
o Why Immutability Is so emphasized in Scala?
o Mutability and type-safety caveats
o Specifying types for variables and type inference
o Exercise
• Chapter 5 - Data Types
o Introduction
o Exercise - Data types
o Boolean type
o Exercises - Boolean type
o String type
o Exercise - string types
o Special types in Scala
o Type casting in Scala
o Exercise - special types
• Chapter 6 - Conditional Statements
o Introduction
o Caveats - Using {} after if/else
o Nested If-else statements
o If else as ternary operator
o Pattern matching
o Exercise
• Chapter 7 - Code Blocks
o Introduction
o Caveats - Code Blocks
o Code Blocks and if/else statements
o Exercise
• Chapter 8 - Functions
o Introduction
o Why use Functions at all?
o Intuitive understanding of Functions
o Invoking a Function
o Caveats - Function definition
o Functions With multiple parameters
o Positional parameters
o Default value of parameters in Functions
o Function with no arguments aka 0 Parity
o Single line functions
o When To actually use return statements
o Passing function as arguments
o Anonymous Functions
• Chapter 9 - Scala collections
o Introduction
o Real life and intuitive examples of collections
o Lists
o Indexing list elements
o What can you store in lists?
o Widely used lists operations
o Iterating over list
o Using Map Function for iterating over lists
o Getting to know Functional Programming concepts
o Using foreach on lists
o Using filter on lists
o Reduce operation on lists
o List equality check
o Alternative ways to create lists
o Exercise - lists
o Sets
o Map collections
o Indexing a map
o Alternative ways lo create map collections
o Manipulating maps
o Iterating through Maps in Functional Style
o Tuples
o Indexing tuples
o Iterating over tuples
o Alternative ways to create tuples
o Mutable collections
o Implications related to mutable collections
o Mutable maps
<
"Sinopsis" puede pertenecer a otra edición de este libro.