Learning Scala: Practical Functional Programming for the jvm
Swartz, Jason
Synopsis "Learning Scala: Practical Functional Programming for the jvm "
Why learn Scala? You donâ t need to be a data scientist or distributed computing expert to appreciate this object-oriented functional programming language. This practical book provides a comprehensive yet approachable introduction to the language, complete with syntax diagrams, examples, and exercises. Youâ ll start with Scala's core types and syntax before diving into higher-order functions and immutable data structures.Author Jason Swartz demonstrates why Scalaâ s concise and expressive syntax make it an ideal language for Ruby or Python developers who want to improve their craft, while its type safety and performance ensures that itâ s stable and fast enough for any application.Learn about the core data types, literals, values, and variablesDiscover how to think and write in expressions, the foundation for Scala's syntaxWrite higher-order functions that accept or return other functionsBecome familiar with immutable data structures and easily transform them with type-safe and declarative operationsCreate custom infix operators to simplify existing operations or even to start your own domain-specific languageBuild classes that compose one or more traits for full reusability, or create new functionality by mixing them in at instantiation