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

Beginning Direct3D Game Programming, Second Edition
Beginning Direct3D Game Programming, Second Edition

With a detailed explanation of vertex and pixel shader programming, coverage of the new Microsoft HLSL (High-Level Shader Language), and greater concentration of the fixed-function pipeline, the second edition of this popular reference guide will take you farther than you ever imagined! Written by an industry expert, this book will put an end...

Introduction to Probability and Statistics Using R
Introduction to Probability and Statistics Using R
This is a textbook for an undergraduate course in probability and statistics. The approximate prerequisites are two or three... More > semesters of calculus and some linear algebra. Students attending the class include mathematics, engineering, and computer science majors....
Database Benchmarking and Stress Testing: An Evidence-Based Approach to Decisions on Architecture and Technology
Database Benchmarking and Stress Testing: An Evidence-Based Approach to Decisions on Architecture and Technology
Provide evidence-based answers that can be measured and relied upon by your business. Database administrators will be able to make sound architectural decisions in a fast-changing landscape of virtualized servers and container-based solutions based on the empirical method presented in this book for answering “what if”...

Solar Energy: Systems, Challenges, and Opportunities (Energy, Environment, and Sustainability)
Solar Energy: Systems, Challenges, and Opportunities (Energy, Environment, and Sustainability)
This book covers challenges and opportunities related to solar-energy based systems. It covers a wide variety of topics related to solar energy, including  applications-based systems such as solar thermal systems that are focused on drying, desalination, space cooling, refrigeration, and processing; recent advances in solar cells (DSSC) and...
Orbital Interaction Theory of Organic Chemistry, 2nd Edition
Orbital Interaction Theory of Organic Chemistry, 2nd Edition
The premise on which this text is based is that the vast majority of chemical phenomena may be qualitatively understood by the judicious use of simple orbital interaction diagrams. The material borrows heavily from the pioneering work of Fukui [1, 2], Woodward and Ho¨mann [3], Klopman [4], Salem [5], Ho¨mann [6], and many others whose work...
The Synthetic Organic Chemists Companion
The Synthetic Organic Chemists Companion
A practical, hands-on guide that belongs in every organic chemistry lab

A unique reference that consolidates essential information in a practical, user-friendly format, The Synthetic Organic Chemist's Companion provides a detailed description

of how to perform synthetic reactions in real-world research settings, covering the most...

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