Functional Programming in Scala, Second Edition

EPUB · English
Price and availability
EPUB eBookUS store
$67.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- English
- Publisher
- Manning
- Published
- 8 August 2023
- ISBN
- 9781638351962
- Subjects
- Computer programming / software development, Functional programming, Web programming, Software Engineering, Computer programming / software engineering, Functional programming, Web programming, Software Engineering
About this book
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 code Work with errors without using exceptions Work with state and concurrency Interact with functional structures that define common behaviors Write code that performs I/O without sacrificing functional programming Functional Programming in Scala has helped over 30,000 developers discover the power of functional programming. Youll 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.About the Technology Functional code is easy to test, reuse, and parallelize, and its practically immune to whole categories of state-related bugs. With its strong functional features, familiar syntax, and seamless interoperability with Java, theres no better place to start learning functional programming than the flexible Scala language.About the Book In Functional Programming with Scala, Second Edition youll 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, youll never look at coding the same way again.Whats Inside Recognize and write purely functional code Work with errors without using exceptions Work with state and concurrency Interact with functional structures that define common behaviors About the ReaderFor 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 Rnar 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 PROGRAMMING1 What is functional programming?2 Getting started with functional programming in Scala3 Functional data structures4 Handling errors without exceptions5 Strictness and laziness6 Purely functional statePART 2 - FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES7 Purely functional parallelism8 Property-based testing9 Parser combinatorsPART 3 - COMMON STRUCTURES IN FUNCTIONAL DESIGN10 Monoids11 Monads12 Applicative and traversable functorsPART 4 - EFFECTS AND I/O13 External effects and I/O14 Local effects and mutable state15 Stream processing and incremental I/O
Bibliographic data © Gardners Books Ltd.