Learn how to transition from Java to Scala, including converting and managing your codebase
Leverage your existing knowledge of Java to master Scala
Gain insight into functional programming concepts and idioms
Rezensionen / Stimmen
"The book is written in an accessible style, with numerous examples, and is suitable for a wide range of audiences from novices, just starting to learn how to handle a programming language, to experts trying to get to grips with Scala. The continuous parallel between Scala and Java is used to highlight an interesting angle in both languages, so, technically, the book can be used as a guide to both Java and Scala." (Irina Ioana Mohorianu, zbMATH 1382.68005, 2018)
Auflage
Sprache
Verlagsort
Zielgruppe
Illustrationen
13
13 farbige Abbildungen, 13 s/w Abbildungen
XXI, 245 p. 26 illus., 13 illus. in color.
Maße
Höhe: 254 mm
Breite: 178 mm
Dicke: 15 mm
Gewicht
ISBN-13
978-1-4842-3107-4 (9781484231074)
DOI
10.1007/978-1-4842-3108-1
Schweitzer Klassifikation
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.
I. Scala Tour.- 1. The Scala Language.- 2. Installing Scala.- 3. Some Basic Syntax.- 4. Scala's Class Hierarchy.- 5. ScalaDoc.- 6. Language Features.- II. Key Syntactical Differences.- 7. Classes and Fields.- 8. Classes and Objects.- 9. Classes and Functions.- 10. Inheritance.- 11. Control Structures.- 12. Generics.- III. Beyond Java to Scala.- 13. Faking Function Calls.- 14. Faking Language Constructs.- 15. Pattern Matching.- 16. Map and FlatMap.- 17. Monads.- 18. For Comprehensions.- IV. Adopting Scala in Java Teams.- 19. Adopting Scala.- 20. What to Expect.- 21. Tips.- 22. Convert Your Codebase.- 23. Manage Your Codebase.- Appendix A. Code Listings.- Appendix B. Syntax Cheat Sheet.-