by adam-f · 12y ago · 0 comments
at the exit condition (whatever that is), exit the recursion and call something else with your new linked list.
(I used something similar to keep track of scope while recursively evaluating in this toy language I made once.)
But yes recursion in a kernel is a "bad thing" unless you know the recursive bound.
Personally, I'm never a fan of punctuation first formatting styles - though I give some exception for dot (.) first method calls in fluent interfaces for C-family languages.
someInterface
.thatCan()
.chain()
.itsCalls();Am I completely wrong here?