Advertisement

Scala for Java Developers

A Practical Primer

  • Toby Weston

Table of contents

  1. Front Matter
    Pages i-xxi
  2. Scala Tour

    1. Front Matter
      Pages 1-1
    2. Toby Weston
      Pages 3-5
    3. Toby Weston
      Pages 7-10
    4. Toby Weston
      Pages 11-19
    5. Toby Weston
      Pages 21-27
    6. Toby Weston
      Pages 29-31
    7. Toby Weston
      Pages 33-36
    8. Toby Weston
      Pages 37-38
  3. Key Syntactical Differences

    1. Front Matter
      Pages 39-41
    2. Toby Weston
      Pages 43-52
    3. Toby Weston
      Pages 53-65
    4. Toby Weston
      Pages 67-78
    5. Toby Weston
      Pages 79-103
    6. Toby Weston
      Pages 105-119
    7. Toby Weston
      Pages 121-140
  4. Beyond Java to Scala

    1. Front Matter
      Pages 141-142
    2. Toby Weston
      Pages 143-148
    3. Toby Weston
      Pages 149-158
    4. Toby Weston
      Pages 159-169
    5. Toby Weston
      Pages 171-176
    6. Toby Weston
      Pages 177-186
    7. Toby Weston
      Pages 187-195
  5. Adopting Scala in Java Teams

    1. Front Matter
      Pages 197-197
    2. Toby Weston
      Pages 199-200
    3. Toby Weston
      Pages 201-204
    4. Toby Weston
      Pages 205-207
    5. Toby Weston
      Pages 209-209
    6. Toby Weston
      Pages 211-213
  6. Back Matter
    Pages 215-245

About this book

Introduction

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.

You will:

  • Tour Scala and learn the basic syntax, constructs, and how to use the REPL
  • Translate Java syntax that you already know into Scala
  • Learn what Scala offers over and above Java
  • Become familiar with functional programming concepts and idioms
  • Gain tips and advice useful when transitioning existing Java projects to Scala

Keywords

Scala Java programming programmers software developer development code source learn book tutorial

Authors and affiliations

  • Toby Weston
    • 1
  1. 1.LondonUnited Kingdom

Bibliographic information

Industry Sectors
Automotive
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Energy, Utilities & Environment
Engineering