Why is Perl so afraid of “deep recursion”?

后端 未结 4 1173

I recently stumbled across the book Higher-order Perl, which basically suggests ways to do things in Perl in a functional way. The author explains that Perl has 6 o

4条回答
  •  青春惊慌失措
    2021-01-07 17:06

    The default limit is too low, but was appropriate for the smaller machines Perl originally ran on. Now 100 is laughable if you are doing serious recursive work, but as you say it can be tuned. I assume Haskell has some other way of catching infinite recursion?

提交回复
热议问题