Article View: borland.public.jbuilder.java.language
Article #18492Re: recursive methode
From: Guenter Wildmann
Date: Fri, 12 Jun 1998 00:00
Date: Fri, 12 Jun 1998 00:00
19 lines
1244 bytes
1244 bytes
Hallo Torsten! On Wed, 10 Jun 1998 18:14:26, torsten.welches.NO_SPAM@debis.com (Torsten Welches) wrote: > >How do I write a recursive Methode in Java? > >It seems that recursion has a bad taste in Java so > >which other concept should be used instead, iteration? > > Just like in any other language. Same pros, same pitfalls. It has been my mistake, it is done like anywhere else. > What makes you think recursion had a bad taste in Java? Some artikles in Java-newsgroups came to the same conclusion: Don't use recursion. Why, is it conceptual? Now it works fine for me, but I can say nothing about performance. Ciao, Guenter (Vienna)
Technical Details
Message-ID:
<l4vd0VMOfLgB-pn2-O7TT1W5TddFD@localhost>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<l4vd0VMOfLgB-pn2-5vV1gyMMPBF2@localhost> <357ecc47.2510189@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,689f55cac1fdc094 X-Google-Attributes: gidf74b3,public From: guenter@netz.at (Guenter Wildmann) Subject: Re: recursive methode Date: 1998/06/12 Message-ID: <l4vd0VMOfLgB-pn2-O7TT1W5TddFD@localhost> X-Deja-AN: 361949156 Content-Transfer-Encoding: 8bit References: <l4vd0VMOfLgB-pn2-5vV1gyMMPBF2@localhost> <357ecc47.2510189@forums.borland.com> Mime-Version: 1.0 Reply-To: guenter@netz.at Content-Type: text/plain; charset="us-ascii" Organization: netz.at Newsgroups: borland.public.jbuilder.java.language