Hacker News new | ask | show | jobs
by siraben 1785 days ago
This isn't true if your language does tail-call optimization[0].

> I consider it to be a security risk.

Again, non-issue if your language handles recursion properly (and in some languages like Haskell, "blowing the stack" is not a thing that happens).

[0] https://en.wikipedia.org/wiki/Tail_call#Implementation_metho...

1 comments

I believe he's more concerned about issues where tail-calls aren't possible or attractive.