[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Bad programmers use recursion (Offtopic was Re:
sterling wrote: >I hard pressed to comprend what is meant by a bad programmer? > > there being no definition of a programmer, a bad programmer can be anything you decide it to be. > > >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> >> >> >> > > >----------------------------------------------------------------- >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> > > >!DSPAM:44276802213859734571689! > > > begin:vcard fn:Rick Marshall n:Marshall;Rick email;internet:rjm@z... tel;cell:+61 411 287 530 x-mozilla-html:TRUE version:2.1 end:vcard
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|