OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Bad programmers use recursion (Offtopic was Re:[xml-dev]

[ Lists Home | Date Index | Thread Index ]

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>
> 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS