Joel Thoms
Aug 8, 2017 · 1 min read

I would be incredibly interested since I can’t imagine how one would go about never using if/else statements and this while also only using pure functions. Aren’t you constantly redeclaring variables? Doesn’t your code get repetitive?

It is actually the opposite, you rarely declare variables because everything is a function.

Code reuse is also very high because everything is now a function instead of a block.

    Joel Thoms

    Written by

    Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!