Re:Talking to C Programmers about C++ [video]
by blub on Monday September 26, 2016 @05:14AM
(#12580376)
Fine, what shall we call this programming style in C++ (lambdas, immutability, function composition, etc) so that everyone is happy then?
Functional style C++?
I haven't felt the need to go deeper than that, it's very possible that I've missed many interesting things, but it's not clear that I can use those things and see tangible benefits in my projects today.
https://bartoszmilewski.com/2013/11/13/functional-data-struc...
and:
https://bartoszmilewski.com/2013/11/25/functional-data-struc...
And, I disagree that you can change the definition of a particular programming paradigm when discussing a particular language. Functional programming means something that is not really possible in C++. For starters, the fundamental underlying data structures for functional programming do not exist in C++ and there is no third-party implementation of them worth mentioning; the above experiment is admitted by the author to fall flat when doing anything idiomatic.
As I mentioned before, C++20 might turn the tide on this front a little bit, thanks to the Range library.