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

A walk along the Keizersgracht
Too often one is so consumed by a jungle of intertwined thoughts that the beauty of the nearby surroundings ... »
Popularity is fickle
The popularity of a given next generation technology is very fickle, and its success or failure depends on many ... »
Where was Kiffin really buried?
Hi There seems to be some confusion on the current resting place of Kiffin Rockwell, some say that his ... »
Going to Portugal
Normally the week just before I leave for summer vacation, I spend hours on end desperately searching for some ... »
A human language
These days it is not very often that a new and exciting Perl book comes along. That's why I ... »