
10 Dec
2020
10 Dec
'20
7:07 p.m.
On Thu, 10 Dec 2020, Albert Y. C. Lai wrote:
In fact, it may be even worse, now that recursion is compulsory. People distrust recursion, they will think up all kinds of crazy schemes to micromanage code execution, rather than just letting recursion do its job.
My experience is that students see in the first lession how recursion works and then stop learning new concepts. They keep coding every 'map', 'filter' and 'foldl' manually as recursion. So recursion looks to me as funtional programming's GOTO, and if it is tail recursive, it actually is one.