Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Simply using simple tail calls is goto-like spaghetti code.

Any if/goto program graph or flowchart can be turned into tail calls that have the same shape. For each node in the goto graph, we can have a tail-called function, 1:1.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: