Re:What if you couldn’t program with loops?
by BubRoss on Monday July 15, 2019 @11:13PM
(#20447215)
There is nothing brittle about it, you push values to the stack instead of passing them to a function (which just pushes them to the call stack). It actually ends up being far less brittle in practice because it is much easier to deal with edge cases and errors. You can break out of a loop much easier than returning different values and having those bubble up.
[ Parent
| on HN ]
There are no comments on this comment yet.