Applied Functional Programming in Scala
eBook - ePub

Applied Functional Programming in Scala

Architecting composable systems with Scala higher-order functions, algebraic data types, and advanced functional patterns (English Edition)

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Applied Functional Programming in Scala

Architecting composable systems with Scala higher-order functions, algebraic data types, and advanced functional patterns (English Edition)

About this book

Description
Functional programming is transforming how we build robust, scalable, and maintainable software by prioritizing clarity and predictability. It emphasizes what to compute by defining expressions that map values to other values, and focuses on how to achieve a result through a sequence of statements that change program state.

This book explores core functional principles like immutability, pure functions, and referential transparency. You will gain a deep understanding of the mathematical underpinnings through category theory concepts like Functors and Monads, and then apply these practically using Scala functional features and leading libraries such as Cats and ZIO. The book also covers handling effects and I/O, advanced functional patterns, and using specialized tools to build functional web, database, and streaming solutions. With real examples and patterns, it shows how these ideas can simplify code, improve testability, and increase system resilience.

By the end of this book, you will have a theoretical understanding and practical proficiency in building high-quality, maintainable applications using functional programming in Scala.

What you will learn
? Implement Scala higher-order functions, currying, and Option/Either.
? Understand Functors, Monads, and their category theory relevance.
? Utilize Cats type classes for extensible functional programming.
? Build scalable applications using FP patterns.
? Manage side-effects and I/O functionally using effect systems.
? Real-world use of functional programming.

Who this book is for
This book is for software engineers, developers, and architects seeking to write more composable, testable, and expressive code. Readers should have a basic understanding of programming concepts, but no prior functional language experience is required.

Table of Contents
1. Fundamentals of Functional Programming
2. Implementation of Category Theory
3. Introduction to Scala
4. Understanding Cats
5. Understanding ZIO
6. Effects Implementation in Pure Way
7. Functional Pattern Implementation
8. Functional Tools
9. Web Implementation in Functional Way
10. DB Implementation in Functional Way
11. Functional Streams for Scala
12. Case Study on Functional Toy E-commerce Site

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewers
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. Fundamentals of Functional Programming
  11. 2. Implementation of Category Theory
  12. 3. Introduction to Scala
  13. 4. Understanding Cats
  14. 5. Understanding ZIO
  15. 6. Effects Implementation in Pure Way
  16. 7. Functional Pattern Implementation
  17. 8. Functional Tools
  18. 9. Web Implementation in Functional Way
  19. 10. DB Implementation in Functional Way
  20. 11. Functional Streams for Scala
  21. 12. Case Study on Functional Toy E-commerce Site
  22. Index

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Applied Functional Programming in Scala by Virendra Kumar Mishra in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.