3 ms·
You could, but I’m not sure the idea had been discovered yet. https://en.wikipedia.org/wiki/Tail_call#History https://en.wikipedia.org/wiki/Tail_call#History gi
by Someone 8y ago
You could, but I’m not sure the idea had been discovered yet. https://en.wikipedia.org/wiki/Tail_call#History https://en.wikipedia.org/wiki/Tail_call#History gives 1977 as its first mention (Steele’s ”Debunking the 'Expensive Procedure Call' Myth“ https://dspace.mit.edu/handle/1721.1/5753#files-area https://dspace.mit.edu/handle/1721.1/5753#files-area)
Also, many tail-calling functions eventually have to return.