News for hackers. Stuff that matters.
Re:Reconsidering the way I explain programming (2020) by zug_zug on Wednesday July 28, 2021 @01:52AM (#27980608)
I'm meh on that example (hard to say it's not a while loop), but I agree that humans already understand and execute recursion in their day-to-day life, so it is a communication thing.

How about this example as an example of recursion: Looking up a word in a dictionary (a real-life binary search).

There are no comments on this comment yet.