Functional Programming in C#: Classic Programming Techniques for Modern Projects [NOOK Book]

Overview

A comprehensive guide to functional programming in C#!

Functional Programming in C# provides a unique and fresh approach to programming in C#. The book focuses on providing solutions to real development problems with functional programming methods. Inside, C# expert and MVP Oliver Sturm explains the details of relevant language features in C# and describes the theory and practice of using functional techniques in C#. Sturm provides practical and versatile examples, which combine...

See more details below
Functional Programming in C#: Classic Programming Techniques for Modern Projects

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • 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
Note: This NOOK Book can be purchased in bulk. Please email us for more information.

Overview

A comprehensive guide to functional programming in C#!

Functional Programming in C# provides a unique and fresh approach to programming in C#. The book focuses on providing solutions to real development problems with functional programming methods. Inside, C# expert and MVP Oliver Sturm explains the details of relevant language features in C# and describes the theory and practice of using functional techniques in C#. Sturm 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. Functional Programming in C# will help programmers find a solution without leaving their programming language and show them the benefits and limitations of C# programming with the primary aim of helping programmers make the most out of what they already know.

Functional Programming in C#:

  • Demonstrates how to use currying to convert multi-parameter functions into function chains

  • Walks you through using the function construction techniques of partial application and composition to create specialized functions out of general-purpose curried function chains

  • Provides coverage of memoization and its use for caching of previously retrieved or calculated return values

  • Details the use of monads in functional programming and shows you their relevance to C# programming as well as practical implementations and their limits

wrox.com Programmer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More

Find articles, ebooks, sample chapters, and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved.

Read More Show Less

Product Details

  • ISBN-13: 9780470971109
  • Publisher: Wiley
  • Publication date: 3/21/2011
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 288
  • Sales rank: 1,300,259
  • Product dimensions: 7.44 (w) x 9.25 (h) x 0.59 (d)
  • File size: 2 MB

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)