- Shopping Bag ( 0 items )
Want a NOOK? Explore Now
Take advantage of the growing trend in functional programming.
C# is the number-one language used by .NET developers and one of the most popular programming languages in the world. It has many built-in functional programming features, but most are complex and little understood. With the shift to functional programming increasing at a rapid pace, you need to know how to leverage your existing skills to take advantage of this trend.
Functional Programming in C# leads you along a path that begins with the historic value of functional ideas. Inside, C# MVP and functional programming expert Oliver Sturm explains the details of relevant language features in C# and describes theory and practice of using functional techniques in C#, including currying, partial application, composition, memoization, and monads. Next, he provides practical and versatile examples, which combine approaches to solve problems in several different areas, including complex scenarios like concurrency and high-performance calculation frameworks as well as simpler use cases like Web Services and business logic implementation.
Let Functional Programming in C# show you how to get in front of the shift toward functional programming.
INTRODUCTION.
PART I: INTRODUCTION TO FUNCTIONAL PROGRAMMING.
CHAPTER 1: A LOOK AT FUNCTIONAL PROGRAMMING HISTORY.
CHAPTER 2: PUTTING FUNCTIONAL PROGRAMMING INTO A MODERN CONTEXT.
PART II: C# FOUNDATIONS OF FUNCTIONAL PROGRAMMING.
CHAPTER 3: FUNCTIONS, DELEGATES, AND LAMBDA EXPRESSIONS.
CHAPTER 4: FLEXIBLE TYPING WITH GENERICS.
CHAPTER 5: LAZY LISTING WITH ITERATORS.
CHAPTER 6: ENCAPSULATING DATA IN CLOSURES.
CHAPTER 7: CODE IS DATA.
PART III: IMPLEMENTING WELL-KNOWN FUNCTIONAL TECHNIQUES IN C#.
CHAPTER 8: CURRYING AND PARTIAL APPLICATION.
CHAPTER 9: LAZY EVALUATION.
CHAPTER 10: CACHING TECHNIQUES.
CHAPTER 11: CALLING YOURSELF.
CHAPTER 12: STANDARD HIGHER ORDER FUNCTIONS.
CHAPTER 13: SEQUENCES.
CHAPTER 14: CONSTRUCTING FUNCTIONS FROM FUNCTIONS.
CHAPTER 15: OPTIONAL VALUES.
CHAPTER 16: KEEPING DATA FROM CHANGING.
CHAPTER 17: MONADS.
PART IV: PUTTING FUNCTIONAL PROGRAMMING INTO ACTION.
CHAPTER 18: INTEGRATING FUNCTIONAL PROGRAMMING APPROACHES.
CHAPTER 19: THE MAPREDUCE PATTERN.
CHAPTER 20: APPLIED FUNCTIONAL MODULARIZATION.
CHAPTER 21: EXISTING PROJECTS USING FUNCTIONAL TECHNIQUES.
INDEX.
I picked up "Functional Programming in C#" because I was interested in exploring methods for writing cleaner, more efficient code and possible insights into techniques that I could use to solve problems in my daily work. I expected the book to be technically heavy and I was right. This book is not for beginners.
In general, the book tries to teach functional concepts but a side effect is the reader gets an exceptional look at the C# language, its features and how it works. For example, the "Code as Data" chapter covers expression trees and their structures. The first few chapters also give nice coverage to .NET features such as covarience and contravarience with generics. At first glance I thought it was redundant, but I soon realized that it's required knowledge in order to take advantage of the proposed techniques.
There are a few chapters on functional techniques to solve common issues like caching and logging that I would disagree with implementing in a C# application in favor of OOP powered by an AOP framework. However, despite that fact, the insight gained from studying the functional techniques is well worth the read. I recommend this book for anyone looking for a fresh approach to solving problems in their code.
2 out of 2 people found this review helpful.
Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.I would recommend this book for advanced programmers.
Functional programming is slowly picking up and Microsoft has done a very good use of functional programming in the C# language.
The author explains various functional programming concepts like covariance, contravariance, currying etc.
After reading the book you will get good insight on some of the .Net underlying functional aspects and you will be a better programmer.
1 out of 1 people found this review helpful.
Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.Anonymous
Posted September 4, 2012
No text was provided for this review.
Overview
Take advantage of the growing trend in functional programming.
C# is the number-one language used by .NET developers and one of the most popular programming languages in the world. It has many built-in functional programming features, but most are complex and little understood. With the shift to functional programming increasing at a rapid pace, you need to know how to leverage your existing skills to take advantage of this trend.
Functional ...