A lack of Tail Call Optimization (TCO) is one of the biggest things holding back functional…
Joel Thoms
62

The correct way to ‘break’ from a functional ‘loop’ is to use the .find() method. 99.99999% of the time

Other similarly awesome Array methods: .some().none().every()

I haven’t written an old-school for loop in years…

Though I’m working on different designs/patterns to avoid hitting the Tail Call/Stack limit trap. Currently FP JS isn’t causing TCO problems for me, (I’m more anxious for native BigDecimal support!) :)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.