Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16555
| From | "Eric Sosman" <eric.sosman@1:261/38.remove-pvc-this> |
|---|---|
| Subject | Re: Do C++ and Java professionals use UML?? |
| Message-ID | <50158974.55525.calajapr@time.synchro.net> (permalink) |
| Newsgroups | comp.lang.java.programmer |
| References | <50157A40.55508.calajapr@time.synchro.net> |
| Date | 2012-07-29 19:19 +0000 |
| Organization | tds.net |
To: Robert Klemme
From: "Eric Sosman" <eric.sosman@1:261/38.remove-5bm-this>
To: Robert Klemme
From: "Eric Sosman" <eric.sosman@1:261/38.remove-5ky-this>
To: Robert Klemme
From: Eric Sosman <esosman@ieee-dot-org.invalid>
On 7/28/2012 12:36 PM, Robert Klemme wrote:
> 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.
Tree *traversal* is a good recursion example, but I can't
think of a good a priori reason to *search* recursively in an ordinary ordered
tree. Maybe in a different sort of tree where you sometimes pursue multiple
branches instead of choosing just one ... But that seems more complicated than
Quicksort.
--
Eric Sosman
esosman@ieee-dot-org.invalid
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Do C++ and Java professionals use UML?? "Robert Klemme" <robert.klemme@1:261/38.remove-z1h-this> - 2012-07-28 18:36 +0000
Re: Do C++ and Java professionals use UML?? "Gene Wirchenko" <gene.wirchenko@1:261/38.remove-z1h-this> - 2012-07-28 18:36 +0000
Re: Do C++ and Java professionals use UML?? "Robert Klemme" <robert.klemme@1:261/38.remove-5bm-this> - 2012-07-29 18:16 +0000
Re: Do C++ and Java professionals use UML?? "Gene Wirchenko" <gene.wirchenko@1:261/38.remove-5bm-this> - 2012-07-29 18:16 +0000
Re: Do C++ and Java professionals use UML?? "markspace" <markspace@1:261/38.remove-5bm-this> - 2012-07-29 18:16 +0000
Re: Do C++ and Java professionals use UML?? "David Lamb" <david.lamb@1:261/38.remove-5bm-this> - 2012-07-29 18:16 +0000
Re: Do C++ and Java professionals use UML?? "Robert Klemme" <robert.klemme@1:261/38.remove-5bm-this> - 2012-07-29 18:16 +0000
Re: Do C++ and Java professionals use UML?? "Eric Sosman" <eric.sosman@1:261/38.remove-pvc-this> - 2012-07-29 19:19 +0000
Re: Do C++ and Java professionals use UML?? "Gene Wirchenko" <gene.wirchenko@1:261/38.remove-x1c-this> - 2012-07-31 20:06 +0000
csiph-web