I just came across an odd method in some Ruby code, and I'm wondering if I'm missing something fundamental. It looks like this:
def funny
!funny
end
What would this possibly return?
That would run recursively until you get a stack overflow.
It would recurse until you got a stack overflow.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With