4 ms·
Since when is wrapping a while and for loop in a function considered pure functional programming?
by jahalai 3y ago
Since when is wrapping a while and for loop in a function considered pure functional programming?
- ashton314 3y agoWhat are you trying to ask? That's not a claim I made.
- quantified 3y agoI think what you are looking at is how the program makes use of functional idioms. And it's simple enough that a functional form isn't wildly different from imperative. But the for/fold ...max construction is higher-level than regular imperative already. If I missed your point, please elaborate?