Functional Programming in C++

Cover of Functional Programming in C++

EPUB · English

Price and availability

EPUB eBookUS store

$67.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
English
Publisher
Manning
Published
9 November 2018
ISBN
9781638355663
Subjects
Programming & scripting languages: general, Programming and scripting languages: general

About this book

SummaryFunctional 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.About the TechnologyWell-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 BookFunctional 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 insideWriting safer code with no performance penaltiesExplicitly handling errors through the type systemExtending C++ with new control structuresComposing tasks with DSLsAbout the ReaderWritten for developers with two or more years of experience coding in C++.About the AuthorIvan 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 ContentsIntroduction to functional programmingGetting started with functional programmingFunction objectsCreating new functions from the old onesPurity: Avoiding mutable stateLazy evaluationRangesFunctional data structuresAlgebraic data types and pattern matchingMonadsTemplate metaprogrammingFunctional design for concurrent systemsTesting and debugging

Bibliographic data © Gardners Books Ltd.