logoalt Hacker News

mrkeentoday at 10:55 AM1 replyview on HN

Supporting recursion only to a depth of 1000 (or whatever) is equivalent to supporting loops of up to 1000 iterations.

If I put out a language that crashed after 1000 iterations of a loop, I'd welcome the rudeness.


Replies

Ar-Curunirtoday at 11:26 AM

Plenty of languages, including very serious ones like C and Rust, have bounded recursion depth.

show 1 reply