2 ms·
Consider why you might want a functional approach in the first place: perhaps you have a large dataset to manage and want to use an approach that minimizes the
by gumby 10y ago
Consider why you might want a functional approach in the first place: perhaps you have a large dataset to manage and want to use an approach that minimizes the amount of garbage you generate. Or maybe you have a major algorithm that is simply easier to express and maintain in a functional style.
But it's part of a larger project. That project could have other constraints that make C++ a better choice (or it could be an existing codebase).
- AnimalMuppet 10y agoThe amount of garbage you generate isn't a big reason to use functional in C++...