14 ms·
Good advice on learning functional language, learning OCaml helped me a lot to advance my template meta-programming skills.
by zakirenish 9y ago
Good advice on learning functional language, learning OCaml helped me a lot to advance my template meta-programming skills.
- bstamour 9y agoHaskell did the same for me.
- jnbiche 9y agoAs 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.
- deleted 9y ago[deleted]