Scala for Java Developers: A Practical Primer
β Scribed by Toby Weston (auth.)
- Publisher
- Apress
- Year
- 2018
- Tongue
- English
- Leaves
- 246
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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.
- 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
Java developers looking to transition to Scala. No prior experience necessary in Scala.
β¦ Table of Contents
Front Matter ....Pages i-xxi
Front Matter ....Pages 1-1
The Scala Language (Toby Weston)....Pages 3-5
Installing Scala (Toby Weston)....Pages 7-10
Some Basic Syntax (Toby Weston)....Pages 11-19
Scalaβs Class Hierarchy (Toby Weston)....Pages 21-27
ScalaDoc (Toby Weston)....Pages 29-31
Language Features (Toby Weston)....Pages 33-36
Summary (Toby Weston)....Pages 37-38
Front Matter ....Pages 39-41
Classes and Fields (Toby Weston)....Pages 43-52
Classes and Objects (Toby Weston)....Pages 53-65
Classes and Functions (Toby Weston)....Pages 67-78
Inheritance (Toby Weston)....Pages 79-103
Control Structures (Toby Weston)....Pages 105-119
Generics (Toby Weston)....Pages 121-140
Front Matter ....Pages 141-142
Faking Function Calls (Toby Weston)....Pages 143-148
Faking Language Constructs (Toby Weston)....Pages 149-158
Pattern Matching (Toby Weston)....Pages 159-169
Map and FlatMap (Toby Weston)....Pages 171-176
Monads (Toby Weston)....Pages 177-186
For Comprehensions (Toby Weston)....Pages 187-195
Front Matter ....Pages 197-197
Adopting Scala (Toby Weston)....Pages 199-200
What to Expect (Toby Weston)....Pages 201-204
Tips (Toby Weston)....Pages 205-207
Convert Your Codebase (Toby Weston)....Pages 209-209
Manage Your Codebase (Toby Weston)....Pages 211-213
Back Matter ....Pages 215-245
β¦ Subjects
Java
π SIMILAR VOLUMES
<p>This step-by-step guide is full of easy-to-follow code taken from real world examples explaining the migration and integration of Scala in a Java project. If you are a Java developer or a Java architect, working in Java EEbased solutions and want to start using Scala in your daily programming, th
<p>Build reactive, scalable applications and integrate Java code with the power of Scala</p> <p><b>Overview</b></p> <ul> <li>Learn the syntax interactively to smoothly transition to Scala by reusing your Java code</li> <li>Leverage the full power of modern web programming by building scalable and re
Build reactive, scalable applications and integrate Java code with the power of Scala<br>Overview<br>Learn the syntax interactively to smoothly transition to Scala by reusing your Java code<br>Leverage the full power of modern web programming by building scalable and reactive applications<br>Easy to
Sharpen your Java skills and boost your potential as an IT specialist. This book introduces you to the basic Java features and APIs needed to prepare for a career in programming and development. Youβll first receive an introduction to Java and then explore language features ranging from comments
Sharpen your Java skills and boost your potential as an IT specialist. This book introduces you to the basic Java features and APIs needed to prepare for a career in programming and development. Youβll first receive an introduction to Java and then explore language features ranging from comments