Functional Programming in Scala

· Verkoop deur Simon and Schuster
E-boek
320
Bladsye
Geskik

Meer oor hierdie e-boek

Summary

Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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 an emerging 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 is a serious tutorial for programmers looking to learn FP and apply it to their everyday work. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.

This book assumes no prior experience with functional programming. Some prior exposure to Scala or Java is helpful.

What's Inside
  • Functional programming concepts
  • The whys and hows of FP
  • How to write multicore programs
  • Exercises and checks for understanding

About the Authors

Paul Chiusano and Rúnar Bjarnason are recognized experts in functional programming with Scala and are core contributors to the Scalaz library.

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
  7. PART 2 FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
  8. Purely functional parallelism
  9. Property-based testing
  10. Parser combinators
  11. PART 3 COMMON STRUCTURES IN FUNCTIONAL DESIGN
  12. Monoids
  13. Monads
  14. Applicative and traversable functors
  15. PART 4 EFFECTS AND I/O
  16. External effects and I/O
  17. Local effects and mutable state
  18. Stream processing and incremental I/O

Meer oor die skrywer

Paul Chiusano has been writing and shipping functional code in Scala since 2008 and is responsible for the introduction and growth of Scala usage at his company, Capital IQ. As part of this effort he co-designed a functional programming curriculum and taught an internal course for coworkers interested in learning FP. Paul is also a regular blogger and speaker on functional programming and Scala.

Rúnar Bjarnason is a self-taught programmer with 12 years of industry experience, with a focus on functional programming since 2008. Rúnar is a prolific blogger and occasional speaker on functional programming and the Scala programming language.

Gradeer hierdie e-boek

Sê vir ons wat jy dink.

Lees inligting

Slimfone en tablette
Installeer die Google Play Boeke-app vir Android en iPad/iPhone. Dit sinkroniseer outomaties met jou rekening en maak dit vir jou moontlik om aanlyn of vanlyn te lees waar jy ook al is.
Skootrekenaars en rekenaars
Jy kan jou rekenaar se webblaaier gebruik om na oudioboeke wat jy op Google Play gekoop het, te luister.
E-lesers en ander toestelle
Om op e-inktoestelle soos Kobo-e-lesers te lees, moet jy ’n lêer aflaai en dit na jou toestel toe oordra. Volg die gedetailleerde hulpsentrumaanwysings om die lêers na ondersteunde e-lesers toe oor te dra.