4 ms·
Well, C++ also has higher-order functions and lambda expressions, and yet we don't call it a functional programming language.
by Rochus 11mo ago
Well, C++ also has higher-order functions and lambda expressions, and yet we don't call it a functional programming language.
- pjmlp 11mo agoAre you sure? Search for "Functional Programming in C++: How to improve your C++ programs using functional techniques".
- Rochus 11mo agoYes. It's by standard a "general purpose" programming language, not a "functional" language, and it definitely corresponds with the IEEE definition for OOP (in contrast to the mentioned Rust or Go languages). I thought I would give a clear example that the fellow would immediately understand. However, I seem to have underestimated the postmodernist tendencies of today's world.
- CyberDildonics 11mo agoIf it's a general purpose language and not a functional language just because it has function features, then why would it be an 'OOP' language just because it has 'OOP' features?
- Rochus 11mo agoCorrect. (did I say something else?)