Description
Product ID: | 9781617299582 |
Product Form: | Paperback / softback |
Country of Manufacture: | GB |
Title: | Functional Programming in Scala |
Authors: | Author: Michael Pilquist, Runar Bjarnason, Paul Chiusano |
Page Count: | 375 |
Subjects: | Functional programming, Functional programming |
Description: | Discover the power that functional programming brings to your Scala code. This international bestseller has been revised with new exercises, annotations, and full coverage of Scala 3. In Functional Programming in Scala, Second Edition you will learn how to: Recognize and write purely functional codeWork with errors without using exceptionsWork with state and concurrencyInteract with functional structures that define common behaviorsWrite code that performs I/O without sacrificing functional programming The first edition of Functional Programming in Scala has helped over 30,000 developers discover the power of functional programming. This second edition is fully updated to Scala 3 and the latest standards of FP. Inside, you'll find a serious tutorial for programmers looking to apply functional programming to improve their everyday coding practices. You'll progress from the basics to advanced topics in a logical, concise, and clear progression. Throughout, concrete examples and exercises open up the world of functional programming. about the technology Functional programming (FP) is a style of software development emphasizing functions that don't depend on program state. Functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs than other code. Scala is a popular JVM language that offers strong support for FP. Its familiar syntax and transparent interoperability with Java make Scala a great place to start learning FP. about the book Functional Programming in Scala, Second Edition teaches you functional programming from first principles using the powerful Scala language. You'll develop the unique skills you need to start thinking functionally through hands-on exercises and coding challenges. New to the revised second edition, each exercise comes with extensive annotations to help you understand functional programming in-depth. You'll even learn how to build your own Scala functional library that's perfectly adapted to your needs. You'll soon be writing Scala code that's easier to read, easier to reuse, better for concurrency, and less prone to bugs and errors. RETAIL SELLING POINTS Recognize and write purely functional code Work with errors without using exceptions Work with state and concurrency Interact with functional structures that define common behaviours Write code that performs I/O without sacrificing functional programming AUDIENCE For programmers experienced in Java or Scala. No prior knowledge of functional programming required. This international bestseller has been revised with new exercises, annotations, and full coverage of Scala 3. In Functional Programming in Scala, Second Edition you will learn how to:
Functional Programming in Scala has helped over 30,000 developers discover the power of functional programming. You’ll soon see why reviewers have called it “mindblowing”! The book smooths the complexity curve of functional programming, making it simple to understand the basics and intuitive to progress to more advanced topics. Concrete examples and exercises show you FP in the real world and reveal how it can improve your everyday coding practices. This second edition comes packed with the latest standards of FP, as well as full code updates to Scala 3, and its new language features. Foreword by Daniel Spiewak. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Functional code is easy to test, reuse, and parallelize, and it’s practically immune to whole categories of state-related bugs. With its strong functional features, familiar syntax, and seamless interoperability with Java, there’s no better place to start learning functional programming than the flexible Scala language. About the Book In Functional Programming with Scala, Second Edition you’ll learn functional programming from first principles. Hands-on exercises and examples make it easy to start thinking and coding functionally. This revised edition contains extensive exercise annotations to help you explore FP in depth, along with steps to build your own functional libraries in Scala. Once the functional lightbulb goes on, you’ll never look at coding the same way again. What’s Inside
About the Reader For Java or Scala programmers. No knowledge of functional programming required. About the Author Michael Pilquist is the lead maintainer of FS2, a functional streaming library, and contributes to the Typelevel ecosystem. Paul Chiusano and Rúnar Bjarnason are recognized experts in functional programming and authors of the first edition of Functional Programming with Scala. Table of Contents: PART 1 - INTRODUCTION TO FUNCTIONAL PROGRAMMING 1 What is functional programming? 2 Getting started with functional programming in Scala 3 Functional data structures 4 Handling errors without exceptions 5 Strictness and laziness 6 Purely functional state PART 2 - FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES 7 Purely functional parallelism 8 Property-based testing 9 Parser combinators PART 3 - COMMON STRUCTURES IN FUNCTIONAL DESIGN 10 Monoids 11 Monads 12 Applicative and traversable functors PART 4 - EFFECTS AND I/O 13 External effects and I/O 14 Local effects and mutable state 15 Stream processing and incremental I/O |
Imprint Name: | Manning Publications |
Publisher Name: | Manning Publications |
Country of Publication: | GB |
Publishing Date: | 2023-06-29 |