1 option
Introducing Functional Programming Using C# : Leveraging a New Perspective for OOP Developers / by Vaskaran Sarcar.
- Format:
- Book
- Author/Creator:
- Sarcar, Vaskaran, author.
- Language:
- English
- Subjects (All):
- Microsoft software.
- Microsoft .NET Framework.
- Microsoft.
- Local Subjects:
- Microsoft.
- Physical Description:
- 1 online resource (314 pages)
- Edition:
- 1st ed. 2023.
- Place of Publication:
- Berkeley, CA : Apress : Imprint: Apress, 2023.
- Summary:
- Understand the power of C#, a multi-paradigm language. This book will help you learn, analyze, and harness the functional aspects of C# so you can create a better program. The book is divided into two parts. Part I starts with an overview of functional programming (FP). It covers the building blocks for FP: functions and immutability. You will learn about the built-in supports for FP, first- and higher-order functions (HOF), functional purity and side effects, different forms of immutability, and much more. Part II includes discussions on functional composition using pipelining and currying. It also explains how to handle temporal coupling and discusses partial functions and useful functional patterns (such as Map, Bind, Filter, and Fold). Author Vaskaran Sarcar takes you through functional exception-handling mechanisms and provides additional tips to make your programs more efficient. After reading the book, you will understand and be able to implement key aspects ofFP. You will be able to produce better code (and refactor existing code) by combining the best techniques from both FP and object-oriented programming (OOP) paradigms. What Will You Learn Understand how the concepts of functional programming (FP) can be implemented using C# Refactor existing code (following the FP paradigm) to make it more readable, maintainable, and predictive Know how advanced features (such as delegates, lambdas, generics) can be used differently Understand how some of the latest features of C# are inclined to FP, so you can use them effectively Understand how to efficiently use features such as lambda expressions and type inference as C# includes explicit language extensions to support functional programming.
- Contents:
- Part I: Getting Familiar with Functional Programming
- Chapter 1: Overview of Functional Programming
- Chapter 2: Understanding Functions
- Chapter 3: Understanding Immutability
- Part II: Harnessing the Power of Functional Programming
- Chapter 4: Composing Functions Using Method Chaining
- Chapter 5: Composing Functions Using Currying
- Chapter 6: Removing/Loosening Temporal Coupling
- Chapter 7: Useful Functional Patterns
- Chapter 8: Handling Exceptions
- Chapter 9: Other Discussions
- Appendix A: Recommended Reading.
- Notes:
- Includes index.
- ISBN:
- 9781484296974
- 1484296974
- OCLC:
- 1397571297
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.