Better HN
topnewbestaskshowjobs
Log inSign up

gvargas

2 karma · joined Mar 26, 2013 (13y ago) · 1 submissions

Submissions

comment 10y ago · link · parent

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.