[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to cast an imperative loop into a readable recursive function ?
From: |
Katalin Sinkov |
Subject: |
Re: How to cast an imperative loop into a readable recursive function ? |
Date: |
Thu, 2 Dec 2010 19:22:46 -0800 (PST) |
User-agent: |
G2/1.0 |
On Dec 2, 7:18 pm, Paul Rubin <no.em...@nospam.invalid> wrote:
> Katalin Sinkov <lispstyl...@gmail.com> writes:
> > I am thinking of how McCarthy wrote all those difficult concepts
> > nicely as recursive functions. He dissected a problem ingeniously to
> > not have to iterate.
>
> If you like mathematical treatments, you might look for some of Richard
> Bird's papers on program refinement.
math would be an overkill and not needed. its issue of programming
style.
Re: How to cast an imperative loop into a readable recursive function ?, RG, 2010/12/09