Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Bad programmers use recursion (Offtopic was Re:[xml-dev] XML Performance in a Transacation)



I hard pressed to comprend what is meant by a bad programmer?



On Sun, 26 Mar 2006, Rick Jelliffe wrote:

> Tatu Saloranta said:
> 
> > There's nothing new there I guess; new CS students are
> > taught recursion in all the wrong places, and
> > generally learn quickly enough not to calculate
> > multiplication by recursive addition by one.
> 
> On that subject, for text programming, the use of recursion is almost
> always the sign of an inexperienced or poor programmer. The worst offender
> in this is the Java REGEX package, which is almost useless for large
> document text processing, because of stack growth in some pathological
> cases with some harmless-looking regular expressions.
> 
> Tree-walking and small-stack problems are a different kettle of fish, of
> course. Or when using languages with the tail-recursion optimization, of
> course.
> 
> Cheers
> Rick
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 


 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor