News for hackers. Stuff that matters.
Re:What are potential disadvantages of functional programming? by tome on Friday July 28, 2017 @06:10AM (#14873174)
> > Is it easier to write with a loop? Then use a loop!

> Yes, but, say, in Haskell, that's not an option.

Sure it is! It might not be a "for" loop or a "while" loop with a "for" or "while" keyword, but a tail recursive function is a loop, and pretty much every loop in an imperative language can easily be translated into a recursive function in a functional language.

There are no comments on this comment yet.