News for hackers. Stuff that matters.
Re:How Tail Call Optimization Works by brundolf on Friday January 08, 2021 @01:33AM (#25682163)
The human intuition starts out naturally oriented around cause and effect, linear timelines of events, and state change over time, because that's how we've evolved to conceptualize the physical world around us. When you're designing large systems this model doesn't scale, but it's absolutely the most intuitive on the small-scale. This is why languages like Python and Basic are so accessible for newcomers.
Re:How Tail Call Optimization Works by eyelidlessness on Friday January 08, 2021 @02:40AM (#25682521)
I’d say that you can model conceptually the same way with a time traveling debugger and get really comfortable. A recusing function is just an event loop where you know how the data is being mutated.