News for hackers. Stuff that matters.
Re:Don't return null; use a tail call by leppie on Tuesday January 10, 2012 @06:59AM (#3446617)
Funny article. He mentions 'tail call elimination' once, and then never mentions 'tail call' again.

Also a 'tail call' and 'tail call elimination' are 2 completely different things. The former being an implementation detail (to provide proper tail recursion for languages that require it, ie Scheme), the latter an optimization technique (to remove (expensive) tail calls!).

Re:Don't return null; use a tail call by jonmrodriguez on Tuesday January 10, 2012 @08:12AM (#3446814)
Nonetheless, the term "tail call" should apply to what he is talking about.

If "tail call recursion" means recursing as the last thing you do before returning, then he is saying to send a message as the last thing you do.

AKA send a message as a tail call instead of returning the value of that message.

Re:Don't return null; use a tail call by gnosis on Tuesday January 10, 2012 @08:52PM (#3450112)
"a 'tail call' and 'tail call elimination' are 2 completely different things."

Indeed. For those seeking more detailed information about this issue, see:

http://c2.com/cgi/wiki?ProperTailRecursion

http://c2.com/cgi/wiki?TailCallOptimization

http://lambda-the-ultimate.org/classic/message1532.html