3 ms·
Strongly agree. The point of stating an explicit nil in the article must be to reduce the chance of future changes erroneously leaving something on the stack,
by xorcist 6y ago
Strongly agree.
The point of stating an explicit nil in the article must be to reduce the chance of future changes erroneously leaving something on the stack, without realizing the implicit nil.
The early return in your version makes it much more obvious why it is written the way it is.