相關主題
商品描述
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
Who This Book Is For
Java developers looking to transition to Scala. No prior experience necessary in Scala.
商品描述(中文翻譯)
掌握 Scala 的基本概念,並了解其對函數式編程的重視,使其與 Java 区别开来。本書將幫助您將已知的 Java 知識轉換為 Scala,開始您的函數式編程之旅。《Learn Scala》分為四個部分:Scala 總覽、Java 與 Scala 的比較、Scala 特有的功能和函數式編程慣用法,最後討論在現有 Java 團隊和遺留項目中採用 Scala。
在閱讀和使用本教程後,您將掌握 Scala 的技能,為這個日益受歡迎的語言的生產力打下基礎。
您將學到的內容:
- 總覽 Scala,學習基本語法、結構以及如何使用 REPL
- 將您已知的 Java 語法轉換為 Scala
- 了解 Scala 相對於 Java 的優勢
- 熟悉函數式編程的概念和慣用法
- 獲得在將現有 Java 項目轉換為 Scala 時的實用建議和技巧
本書適合對象:
希望轉向 Scala 的 Java 開發者。無需具備 Scala 的先前經驗。