Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Functional Programming in C++: How to improve your C++ programs using functional techniques

Buy
Summary

Functional Programming in C++ teaches developers the practical side of functional programming and the tools that C++ provides to develop software in the functional style. This in-depth guide is full of useful diagrams that help you understand FP concepts and begin to think functionally.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Well-written code is easier to test and reuse, simpler to parallelize, and less error prone. Mastering the functional style of programming can help you tackle the demands of modern apps and will lead to simpler expression of complex program logic, graceful error handling, and elegant concurrency. C++ supports FP with templates, lambdas, and other core language features, along with many parts of the STL.

About the Book

Functional Programming in C++ helps you unleash the functional side of your brain, as you gain a powerful new perspective on C++ coding. You'll discover dozens of examples, diagrams, and illustrations that break down the functional concepts you can apply in C++, including lazy evaluation, function objects and invokables, algebraic data types, and more. As you read, you'll match FP techniques with practical scenarios where they offer the most benefit.

What's inside

  • Writing safer code with no performance penalties
  • Explicitly handling errors through the type system
  • Extending C++ with new control structures
  • Composing tasks with DSLs

About the Reader

Written for developers with two or more years of experience coding in C++.

About the Author

Ivan ?uki? is a core developer at KDE and has been coding in C++ since 1998. He teaches modern C++ and functional programming at the Faculty of Mathematics at the University of Belgrade.

Table of Contents

  1. Introduction to functional programming
  2. Getting started with functional programming
  3. Function objects
  4. Creating new functions from the old ones
  5. Purity: Avoiding mutable state
  6. Lazy evaluation
  7. Ranges
  8. Functional data structures
  9. Algebraic data types and pattern matching
  10. Monads
  11. Template metaprogramming
  12. Functional design for concurrent systems
  13. Testing and debugging
(HTML tags aren't allowed.)

Introductory Analysis: A Deeper View of Calculus
Introductory Analysis: A Deeper View of Calculus
Introductory real analysis can be an exciting course; it is the gateway to an impressive panorama of higher mathematics. But for all too many students, the excitement takes the form of anxiety or even terror; they are overwhelmed. For many, their study of mathematics ends one course sooner than they expected, and for many others, the doorways that...
Matrix Analysis for Scientists and Engineers
Matrix Analysis for Scientists and Engineers
‘I found Laub's book a delightful read. It has become the sixth valuable ‘Matrix Analysis’ book on my shelves. As well as being admirably suited for the course at which it is aimed, its conciseness and clarity of presentation, together with the good index, make it easy to use for reference. The book is recommended both as a course...
Statistical Data Mining Using SAS Applications, Second Edition
Statistical Data Mining Using SAS Applications, Second Edition

The objective of the second edition of this book is to introduce statistical data mining concepts, describe methods in statistical data mining from sampling to decision trees, demonstrate the features of user-friendly data mining SAS tools and, above all, allow the book users to download compiled data mining SAS (Version 9.0 and...


Supervised and Unsupervised Pattern Recognition: Feature Extraction and Computational Intelligence
Supervised and Unsupervised Pattern Recognition: Feature Extraction and Computational Intelligence

There are many books on neural networks, some of which cover computational intelligence, but none that incorporate both feature extraction and computational intelligence, as Supervised and Unsupervised Pattern Recognition does. This volume describes the application of a novel, unsupervised pattern recognition scheme to the classification of...

The Mathematics of Signal Processing (Cambridge Texts in Applied Mathematics)
The Mathematics of Signal Processing (Cambridge Texts in Applied Mathematics)

Arising from courses taught by the authors, this largely self-contained treatment is ideal for mathematicians who are interested in applications or for students from applied fields who want to understand the mathematics behind their subject. Early chapters cover Fourier analysis, functional analysis, probability and linear algebra, all of...

Numerical Methods in Finance with C++ (Mastering Mathematical Finance)
Numerical Methods in Finance with C++ (Mastering Mathematical Finance)

Driven by concrete computational problems in quantitative finance, this book provides aspiring quant developers with the numerical techniques and programming skills they need. The authors start from scratch, so the reader does not need any previous experience of C++. Beginning with straightforward option pricing on binomial trees, the book...

©2020 LearnIT (support@pdfchm.net) - Privacy Policy