Category talk:Recursion: Difference between revisions

From Rosetta Code
Content added Content deleted
(kudos)
No edit summary
Line 1: Line 1:
I'm not too happy with my pseudocode. I added it because I've always found such concepts better explained through pseudocode. -[[User:Slawmaster|Slawmaster]] 17:46, 27 January 2008 (MST)
I'm not too happy with my pseudocode. I added it because I've always found such concepts better explained through pseudocode. -[[User:Slawmaster|Slawmaster]] 17:46, 27 January 2008 (MST)
:Looks great actually. --[[User:Mwn3d|Mwn3d]] 18:33, 27 January 2008 (MST)
:Looks great actually. --[[User:Mwn3d|Mwn3d]] 18:33, 27 January 2008 (MST)

--

I don't think that this sentence is true: <i>"The factorial example is best done with a loop."</i> I'm not editing it, though, since I don't quite know why it is there - given that one blatant counter-example (Scheme) is named right after it in the same paragraph. In some languages, the factorial might be best done with a loop, in some other languages, recursion would be the obvious (and best) approach. (In yet others, both might be equally powerful. And for all I know there's some language out there where something yet-completely-different is actually the best approach). [[User:Sgeier|Sgeier]] 16:40, 28 January 2008 (MST)

Revision as of 23:40, 28 January 2008

I'm not too happy with my pseudocode. I added it because I've always found such concepts better explained through pseudocode. -Slawmaster 17:46, 27 January 2008 (MST)

Looks great actually. --Mwn3d 18:33, 27 January 2008 (MST)

--

I don't think that this sentence is true: "The factorial example is best done with a loop." I'm not editing it, though, since I don't quite know why it is there - given that one blatant counter-example (Scheme) is named right after it in the same paragraph. In some languages, the factorial might be best done with a loop, in some other languages, recursion would be the obvious (and best) approach. (In yet others, both might be equally powerful. And for all I know there's some language out there where something yet-completely-different is actually the best approach). Sgeier 16:40, 28 January 2008 (MST)