Re:Should function arguments be reassignable or mutable?
by bearhall on Monday January 01, 2018 @01:38PM
(#16047305)
Yes. Erlang has tail recursion which helps prevent that http://learnyousomeerlang.com/recursion
[ Parent
| on HN ]
Re:Should function arguments be reassignable or mutable?
by dragonwriter on Monday January 01, 2018 @01:43PM
(#16047339)
As the article notes, what Erlang has is Last Call Optimization, this is significantly more general than tail recursion optimization.