Could be worse. I once experimented with a debug-level function that ran on every line of text printed to the console. And had a typo, which threw an error. Which printed to the console.
until your stack runs out of memory
I had this problem only once. Luckily, I do not need recursion. I know my way using iterative process.
You forgot i++
I actually use repeat(iterations,index_name(optionall),);. No need for i++ or ++i for loop in many cases.
Fortunately you're likely to run out of memory or swap space and it will stop all by itself 😇
tail call optimization wants to know your location
I've been writing software for over 40 years and this is the first I have ever heard of this. Much appreciated.
I'm still trying to grok it, but for anyone playing, here's where I started:
https://stackoverflow.com/questions/310974/what-is-tail-call-optimization#310980