2 ms·
True to a degree. Languages that promote the use of recursion often implement tail call optimization so if the process is an iterative recursive process (all st
by gvargas 11y ago
True to a degree. Languages that promote the use of recursion often implement tail call optimization so if the process is an iterative recursive process (all state is captured in args on recursive call) then the perf issues you mentioned don't apply. The latest version of JavaScript will include this optimization.
I also disagree wrt it being more difficult to debug, understand, etc. Your mileage may vary here.