News for hackers. Stuff that matters.
Re:Programming Paradigms for Dummies: What Every Programmer ... by fjsolwmv on Monday November 05, 2018 @10:25AM (#18382966)
Purely Functional programming via templates is a gimmick, not a productive style. In general you can't write a whole useful program in templates.
Re:Programming Paradigms for Dummies: What Every Programmer ... by tines on Monday November 05, 2018 @10:30AM (#18383010)
Depends. If you define fp as being manipulation of immutable data (i.e. math-like), then it’s quite feasible in C++. Gimmick or no, templates aren’t even necessary.