From: Hank Gong Date: 2005-12-13T02:52:23+09:00 Subject: Re: A question about recursive programming ------=_Part_1082_20518124.1134409936879 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Yes, I agree with you... And also I think it's not easy to think every loop as recursive way. For example it's very difficult to write max function by recursive function= . On 12/13/05, Robert Klemme wrote: > > Hank Gong wrote: > > Because I read some other lauguage said that recursive programming can > > totally replace loop structure. > > So I want to think the loop as the recursive way! > > IMHO Ruby is not well suited for that because you'll run into stack > limitations quite often. You probably better use functional languages fo= r > that. They are usually much better at recursion. > > Kind regards > > robert > > > ------=_Part_1082_20518124.1134409936879--