Iterative vs. Recursive coding

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue Aug 24 10:40:14 CEST 2010


Steven D'Aprano a écrit :
> On Fri, 20 Aug 2010 17:23:23 +0200, Bruno Desthuilliers wrote:
> 
>> Steven D'Aprano a écrit :
>>> On Thu, 19 Aug 2010 22:00:16 +0000, Martin Gregorie wrote:
>>>
>>>> Recursion can be quite a trick to get your mind round at first
>>> Really? Do people actually find the *concept* of recursion to be
>>> tricky?
>>>
>>>
>> I onced worked in a shop (Win32 desktop / accouting applications mainly)
>> where I was the only guy that could actually understand recursion. FWIW,
>> I also was the only guy around that understood "hairy" (lol) concepts
>> like callback functions, FSM, 
> 
> FSM? Flying Spaghetti Monster?

Lol. Now this would at least be a pretty good description of the kind of 
code base these guys were used to !-)


> 
>> polymorphism, hashtables, linked lists,
>> ADTs, algorithm complexity etc...
> 
> 
> Was there anything they *did* understand,

Hmmm.... good question - but I didn't last long enough to find out.

> or did they just bang on the 
> keyboard at random until the code compiled? *wink*

Kind of, yes.




More information about the Python-list mailing list