Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Do C++ and Java professionals use UML?? Date: Sat, 28 Jul 2012 18:36:59 +0200 Lines: 22 Message-ID: References: <500cbc5d$0$295$14726298@news.sunsite.dk> <3qcr08lkpvcmhe0drpffhegusd6k2a1670@4ax.com> <6sq218p9vfg1m2fgg5pm8sthhdot288mia@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net y8poVInI2NAR29juSWDhdAmYUwX2XY97Yfo+d5ywaCRXDzI7b/61Bvqz3hvy3wnbw= Cancel-Lock: sha1:xJWGTfl///NjkwnHZ5H5LinwwTE= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-Antivirus: avast! (VPS 120728-0, 28.07.2012), Outbound message X-Antivirus-Status: Clean Xref: csiph.com comp.lang.java.programmer:16448 On 27.07.2012 23:11, David Lamb wrote: > I taught introductory programming for several years in several > languages. You don't need to get as complex as backtracking. The natural > places to teach recursion to introductory students are with binary tree > search and quicksort, both of which can be taught in the first or second > 1-semester course. Right. Although I'd consider Quicksort too complex as an introduction to recursion as the algorithms workings are not so easy to grasp and would distract from the concept of recursion. Tree search seems to be the most appropriate to me. Still, introducing recursion as a concept in programming does not belong into class reference documentation. This is something for a tutorial or other introductory material. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/