Functional Programming in C#: Classic Programming Techniques for Modern Projects

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 ...

See more details below
Paperback
$26.08
BN.com price
(Save 25%)$34.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (15) from $3.16   
  • New (7) from $5.99   
  • Used (8) from $3.16   
Functional Programming in C#: Classic Programming Techniques for Modern Projects

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.49
BN.com price
(Save 44%)$34.99 List Price

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 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.

  • Shows how C# developers can leverage their existing skills to take advantage of functional programming
  • Uses very little math theory and instead focuses on providing solutions to real development problems with functional programming methods, unlike traditional functional programming titles
  • Includes examples ranging from simple cases to more complex scenarios

Let Functional Programming in C# show you how to get in front of the shift toward functional programming.

Read More Show Less

Product Details

  • ISBN-13: 9780470744581
  • Publisher: Wiley
  • Publication date: 4/19/2011
  • Edition number: 1
  • Pages: 288
  • Sales rank: 1,391,581
  • Product dimensions: 7.30 (w) x 9.20 (h) x 0.60 (d)

Meet the Author

Oliver Sturm has over 20 years experience developing professional software. He is a well-known expert in various areas of application architecture, programming languages and the third-party .NET tools made by DevExpress. His main focus since 2002 has been on the .NET platform.

Read More Show Less

Table of Contents

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.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Posted October 10, 2011

    more from this reviewer

    Discover ways to escape the OOP jungle

    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  No   Report this review
  • Posted January 10, 2012

    more from this reviewer

    Recommended for advanced programmer

    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  No   Report this review
  • Anonymous

    Posted September 4, 2012

    No text was provided for this review.

Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)