599
with a break statement right?
(lemmy.nz)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
I think you're talking about tail recursion
https://en.wikipedia.org/wiki/Tail_call (see section on equivalence to while statement)
Not the standard case where the stack grows