Programming in SCALA
work in progress...
I just want to learn scala
. I found this book Programming in Scala: A Comprehensive Step-by-Step Guide, Third Edition and wanted to start some jupyter notebooks
and play with the code to see in action what's scala
about. This repository is just copy and paste from the book. Nothing is coming from me, all credits to the book authors. Please support them buying their book.
If you want to run the notebooks do:
- get miniconda
- create an environment:
conda create -n scala python=3.7
- activate environment:
conda activate scala
- install jupyter notebooks:
pip install jupyter
- install spylon-kernel
- Have fun!
Table of Contents
Foreword Acknowledgments Introduction
- A Scalable Language
- First Steps in Scala
- Next Steps in Scala
- Classes and Objects
- Basic Types and Operations
- Functional Objects
- Built-in Control Structures
- Functions and Closures
- Control Abstraction
- Composition and Inheritance
- Scala's Hierarchy
- Traits
- Packages and Imports
- Assertions and Tests
- Case Classes and Pattern Matching
- Working with Lists
- Working with Other Collections
- Mutable Objects
- Type Parameterization
- Abstract Members
- Implicit Conversions and Parameters
- Implementing Lists
- For Expressions Revisited
- Collections in Depth
- The Architecture of Scala Collections
- Extractors
- Annotations
- Working with XML
- Modular Programming Using Objects
- Object Equality
- Combining Scala and Java
- Futures and Concurrency
- Combinator Parsing
- GUI Programming
- The SCells Spreadsheet A. Scala Scripts on Unix and Windows Glossary Bibliography About the Authors Index