3 ms·
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
by kazinator 3y ago
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.