First-Class Functions

One of the characteristics of functional programming is first class functions. First-class functions behave like data and are heavily used in the Standard Template Library.

Read more
Add CommentViews: 2472

The Definition of Functional Programming

The definition of functional programming is quite easy. Functional programming is the programming with mathematical functions. Is that all? Of course, not!

Read more
Comments 1Views: 4532

Functional in C++17 and C++20

Which functional feature can we expect with C++17, for which functional feature can we hope for with C++20? Exactly this question will I concisely answer in this post.

Read more
Tags: C++20, C++17
Add CommentViews: 7525

Functional in C++11 and C++14: Dispatch Table and Generic Lambdas

My favourite example the dispatch table shows how nice the features in modern C++ work together. A dispatch table is a table of pointers to functions. In my case, it is a table of handles to polymorphic function wrappers.

Read more
Comments 2Views: 12881

Functional in TR1 and C++11

In this post, our journey through the functional features of classical, modern, and future C++ continues. Today, we stop in the present.

Read more
Tags: auto
Add CommentViews: 2054

Functional in C++98

C++ is not a functional programming language but you can program in a functional style. What are the functional features in C++? I will answer this question for C++98.

Read more
Comments 1Views: 4757

Object-Oriented, Generic, and Functional Programming

C++ is not a functional programming language. C++ has is roots in the procedural and object-oriented programming. So it's quite surprising that programming in a functional style becomes more and more important in C++. That is not only true for C++. That holds also for python, which has a lot of functional features and even for Java. Now Java has lambda-functions.

 

Read more
Comments 7Views: 6815

My Newest E-Book

Latest comments

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 1335

All 257615

Currently are 217 guests and no members online