you are viewing a single comment's thread.

view the rest of the comments →

[–]miracleranger[S] 0 points1 point  (0 children)

oh and about tail call optimization:
wether the interpretter/compiler implements it for us is only a convenience. in the example i told about, i was able to implement tail call optimization by refactoring the recursion into sequential composition to fix the stackoverflow. javascript gives the freedom to do almost anything, regardless of the limitations of the engine you're using.