Liknande böcker
Professional Scala : Combine object-oriented and functional programming to build high-performance applications
Bok av Mads Hartmann
If your application source code is overly verbose, it can be a nightmare to maintain. Write concise and expressive, type-safe code in an environment that lets you build for the JVM, browser, and more.Key FeaturesExpert guidance that shows you to efficiently use both object-oriented and functional programming techniquesUnderstand functional programming libraries, such as Cats and Scalaz, and use them to augment your Scala developmentPerfectly balances theory and hands-on exercises, assessments, and activitiesBook DescriptionThis book teaches you how to build and contribute to Scala programs, recognizing common patterns and techniques used with the language. You'll learn how to write concise, functional code with Scala. After an introduction to core concepts, syntax, and writing example applications with scalac, you'll learn about the Scala Collections API and how the language handles type safety via static types out-of-the-box. You'll then learn about advanced functional programming patterns, and how you can write your own Domain Specific Languages (DSLs). By the end of the book, you'll be equipped with the skills you need to successfully build smart, efficient applications in Scala that can be compiled to the JVM.What you will learnUnderstand the key language syntax and core concepts for application developmentMaster the type system to create scalable type-safe applications while cutting down your time spent debuggingUnderstand how you can work with advanced data structures via built-in features such as the Collections libraryUse classes, objects, and traits to transform a trivial chatbot program into a useful assistantUnderstand what are pure functions, immutability, and higher-order functionsRecognize and implement popular functional programming design patternsWho this book is forThis is an ideal book for developers who are looking to learn Scala, and is particularly well suited for Java developers looking to migrate across to Scala for application development on the JVM.