Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #16534

Re: Do C++ and Java professionals use UML??

From "David Lamb" <david.lamb@1:261/38.remove-5bm-this>
Subject Re: Do C++ and Java professionals use UML??
Message-ID <50157A40.55505.calajapr@time.synchro.net> (permalink)
Newsgroups comp.lang.java.programmer
References <50142C2A.55428.calajapr@time.synchro.net>
Date 2012-07-29 18:16 +0000
Organization tds.net

Show all headers | View raw


  To: Robert Klemme
From: "David Lamb" <david.lamb@1:261/38.remove-5ky-this>

  To: Robert Klemme
From: "David Lamb" <david.lamb@1:261/38.remove-z1h-this>

  To: Robert Klemme
From: David Lamb <dalamb@cs.queensu.ca>

On 27/07/2012 7:21 AM, Robert Klemme wrote:
> On 07/26/2012 06:16 PM, Gene Wirchenko wrote:
>>       I have seen this botched in intro classes where recursion is
>> introduced.  All too often the example used is factorial which is much
>> more quickly and clearly solved using iteration.  The student gets the
>> impression that it is overly complicated and never bothers with it.
>
> Yeah, but the cases where recursion makes the code simpler are typically
> more complex algorithms (backtracking for example).  I suspect all
> methods which can be converted into a loop via tail recursion
> optimization are as simple as factorial.

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.

-+- 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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