I am new to Ruby, and I have only known it through rails. I was
wondering if it’s a good idea to use recursion sparingly in Ruby?
How efficiently is it implemented? Do recursive calls only store local
variables or the entire method?
Is there a maximum stack size/depth?