Re:Ways to Get Better at C++
by zakirenish on Friday June 23, 2017 @08:37AM
(#14618687)
Good advice on learning functional language, learning OCaml helped me a lot to advance my template meta-programming skills.
[ Parent
| on HN ]
As a non-C++ programmer with a background in functional programming, this similarity was a big surprise to me when I read a recent article on C++ template metaprogramming -- it's all basic functional programming techniques, with recursion, (kinda) pattern matching, etc. Very interesting!
I could see how mixing templates with other C++ paradigms could quickly get messy in the wrong hands, since it's very powerful.