Scala for Java Developers: A Practical Primer

  • 2h 31m
  • Toby Weston
  • Apress
  • 2018

Master the fundamentals of Scala and understand its emphasis on functional programming that sets it apart from Java. This book will help you translate what you already know in Java to Scala to start your functional programming journey.

Learn Scala is split into four parts: a tour of Scala, a comparison between Java and Scala, Scala-specific features and functional programming idioms, and finally a discussion about adopting Scala in existing Java teams and legacy projects. After reading and using this tutorial, you'll come away with the skills in Scala to kick-start your productivity with this growing popular language.

What You'll Learn

Tour Scala and learn the basic syntax, constructs, and how to use the REPLTranslate Java syntax that you already know into Scala

Learn what Scala offers over and above JavaBecome familiar with functional programming concepts and idiomsGain tips and advice useful when transitioning existing Java projects to Scala

Who This Book Is For

Java developers looking to transition to Scala. No prior experience necessary in Scala.

About the Author

Toby Weston is an independent consultant based in London. He specializes in agile enablement, training and modern software development. For more, visit www-dot-baddotrobot-dot-com.

In this Book

  • The Scala Language
  • Installing Scala
  • Some Basic Syntax
  • Scala's Class Hierarchy
  • ScalaDoc
  • Language Features
  • Summary
  • Classes and Fields
  • Classes and Objects
  • Classes and Functions
  • Inheritance
  • Control Structures
  • Generics
  • Faking Function Calls
  • Faking Language Constructs
  • Pattern Matching
  • Map and FlatMap
  • Monads
  • For Comprehensions
  • Adopting Scala
  • What to Expect
  • Tips
  • Convert Your Codebase
  • Manage Your Codebase
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.7 of 13 users Rating 4.7 of 13 users (13)
Journey Java Journey
Rating 4.5 of 8 users Rating 4.5 of 8 users (8)