Software Assurance Reference Dataset

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 19 23:55:36 PDT 2014


Walter Bright:

> If you want to guarantee replacement of a recursive call with a 
> loop, just write a loop.

There are cases where a recursive algorithm is nicer. And people 
that want to use D functionally, may also be used to writing code 
recursively.

What about the @continuation 
(http://en.wikipedia.org/wiki/Continuation-passing_style )?

Bye,
bearophile


More information about the Digitalmars-d mailing list