When celebrity programmers attack: Guido on tail calls
Guido van Rossum, the celebrity programmer responsible for the Python programming language, published a horribly misinformed blog post last week that was meant to explain why tail calls are "unpythonic" and do not deserve a place in the Python language. Given the simplicity of the subject matter and the widespread availability of accurate information from experts like Will Clinger , it seems remarkable that anyone would still be confused about tail calls. Although the presence or absence of tail calls in Python is unimportant, this is still serious because Python is the new BASIC and, consequently, Guido is abusing his celebrity status by misguiding a huge number of young programmers. Indeed, this is very visible on the ensuing Reddit discussions where the majority of comments are factually incorrect. Definitions A tail call is a call that appears as the last thing a function does before it returns. In functional languages, this means the caller is returning the result of ...