DEV Community

Discussion on: Understanding Tail Call Optimization With JavaScript

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him) • Edited

Well, if you have to go through all those hoops to force functional programming patterns into Javascript you should probably just stick to imperative loops. Or use actual functional languages.

(However, the concept is cool and it helps to know about call stacks, memory management and how Javascript handles certain concepts)

Collapse
 
douglasdemoura profile image
Douglas Moura

Yes, the intention of the article is to talk about the concepts with JavaScript.