logoalt Hacker News

reddit_cloneyesterday at 11:15 PM0 repliesview on HN

There is a big difference in there I think.

'for' loop is mutating.

Using 'reduce', you can do the same functionally. In some (somewhat) purely functional languages, there is no choice.