[Tutor] Recursion always returns None

Steve Willoughby steve at alchemy.com
Tue Aug 28 18:34:00 CEST 2012


On 28-Aug-12 09:13, Alan Gauld wrote:
> On 28/08/12 16:51, Dharmit Shah wrote:
>
>> @Dave Angel : Thank you for the loop idea. It didn't strike me at all.
>>
> For some reason some beginners seem to find recursion a natural pattern.

There is a certain "hey, you can do that? That's cool!" factor when you 
first discover recursion.  When it naturally applies to a problem, it's 
still a powerful thing, but yes, it's often misapplied by beginners.


-- 
Steve Willoughby / steve at alchemy.com
"A ship in harbor is safe, but that is not what ships are built for."
PGP Fingerprint 4615 3CCE 0F29 AE6C 8FF4 CA01 73FE 997A 765D 696C


More information about the Tutor mailing list