Book description
Functional programming languages are good at expressing complex ideas in a succinct, declarative way. Functional concepts such as "immutability" and "function values" make it easier to reason about code—as well as helping with concurrency. The new F# language, LINQ, certain new features of C#, and numerous .NET libraries now bring the power of functional programming to .NET coders.
This book teaches the ideas and techniques of functional programming applied to real-world problems. You'll see how the functional way of thinking changes the game for .NET developers. Then, you'll tackle common issues using a functional approach. The book will also teach you the basics of the F# language and extend your C# skills into the functional domain. No prior experience with functional programming or F# is required.
About the Technology
Functional programming languages are good at expressing complex ideas in a succinct, declarative way. Functional concepts such as "immutability" and "function values" make it easier to reason about code—as well as helping with concurrency. The new F# language, LINQ, certain new features of C#, and numerous .NET libraries now bring the power of functional programming to .NET coders.
About the Book
This book teaches the ideas and techniques of functional programming applied to real-world problems. You'll see how the functional way of thinking changes the game for .NET developers. Then, you'll tackle common issues using a functional approach. The book will also teach you the basics of the F# language and extend your C# skills into the functional domain. No prior experience with functional programming or F# is required.
What's Inside
- Thinking the functional way
- Blending OO and functional programming
- Effective F# code
About the Reader
About the Authors
Microsoft C# MVP Tomas Petricek is one of the leaders of the F# community. He was part of the Microsoft Research team for F# and is interested in distributed and reactive programming using F#. Microsoft C# MVP Jon Skeet is a veteran C# and Java developer, prolific "Stack Overflow" contributor, and author of C# in Depth.
Quotes
From the Foreword: You will never look at your code in the same way again.
- Mads Torgersen, C# PM, Microsoft
A truly functional book!
- Andrew Siemer, .NET Architect
.NET needs more functional programmers...this book shows you how to become one.
- Stuart Caborn, Lead Consultant Thoughtworks
Warning: this book has a very high Wow! factor. It made my head hurt...in a good way!
- Mark Seemann, Developer/Architect, Safewhere
I recommend it to all software craftspeople, not just .NET developers.
- Paul King, Director, ASERT
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- List of Figures
- List of Tables
- List of Listings
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Part 1. Learning to think functionally
- Chapter 1. Thinking differently
- Chapter 2. Core concepts in functional programming
- Chapter 3. Meet tuples, lists, and functions in F# and C#
- Chapter 4. Exploring F# and .NET libraries by example
- Part 2. Fundamental functional techniques
- Chapter 5. Using functional values locally
- Chapter 6. Processing values using higher-order functions
- Chapter 7. Designing data-centric programs
- Chapter 8. Designing behavior-centric programs
- Part 3. Advanced F# programming techniques
- Chapter 9. Turning values into F# object types with members
- Chapter 10. Efficiency of data structures
- Chapter 11. Refactoring and testing functional programs
- Chapter 12. Sequence expressions and alternative workflows
- Part 4. Applied functional programming
- Chapter 13. Asynchronous and data-driven programming
- Chapter 14. Writing parallel functional programs
- Chapter 15. Creating composable functional libraries
- Chapter 16. Developing reactive functional programs
- Appendix: Looking ahead
- Resources
- Unnamed
- Unnamed
- Unnamed
- Quick Reference – Functional Programming Concepts
- Quick Reference – F# Language Constructs
- Index
Product information
- Title: Real-World Functional Programming
- Author(s):
- Release date: November 2009
- Publisher(s): Manning Publications
- ISBN: 9781933988924
You might also like
book
Learning Functional Programming
Learn how to think and write code like a functional programmer. With this practical guide, software …
book
Grokking Functional Programming
There’s no need to fear going functional! This friendly, lively, and engaging guide is perfect for …
book
Mastering Functional Programming
Learn how functional programming can help you in deploying web servers and working with databases in …
book
Functional Programming in Scala
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply …