Recursion is recursive

 | Computers and stuff | 5 Comments | 0 TrackBacks

So how on earth do you even attempt to explain what recursion is to someone who just can't get it?

The first time I struggled with this concept, I just had to accept it as is. By groping around endlessly in the dark, I just hoped that if I used it often enough I would figure it out some day.

Believe it or not that day did come. All of a sudden the last piece of the puzzle fell nicely in place and it all made perfect sense.

Truly elegant, that is if you can figure it out.

No TrackBacks

TrackBack URL: http://www.kiffingish.com/cgi-bin/mt/mt-tb.cgi/106

5 Comments

And which piece of the puzzle was it that made "the light go on", so to speak?

The piece that fell right in place and itself became a new complete puzzle missing a similar piece of the puzzle that needed filling in.

:-) What was was the base case?

Base case, what base case?

The base case of the recursion, of course :-)

Leave a comment

Recent Entries

Stupid light-pole
Damn. I bashed in the left side of my car against that stupid light-pole while backing out of the ... »
Enjoy life
The man standing next to me was wearing a fancy suit and carrying a leather briefcase in his right ... »
Gale-force winds
"The true (golf) pilgrim wanders off to the outlying, the more humble and obscure courses. For it is on ... »
Secret powers
The front nine was quite a display of supernaturally and (almost) perfectly consistent golfing gusto: Par, par, par, par, ... »
No more winter greens
The cool, windy and grayish afternoon calls me onward. It's drizzling on my windshield but I do not care. ... »