home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / edu / 1392 < prev    next >
Encoding:
Text File  |  1992-08-29  |  3.4 KB  |  65 lines

  1. Newsgroups: comp.edu
  2. Path: sparky!uunet!stanford.edu!agate!linus!linus.mitre.org!22731
  3. From: 22731@church.mitre.org ()
  4. Subject: Re: programming languages, education, unanswered questions, loose threads
  5. Message-ID: <1992Aug28.155651.14652@linus.mitre.org>
  6. Sender: root@church ()
  7. Nntp-Posting-Host: church.mitre.org
  8. Organization: The MITRE Corporation, McLean, VA
  9. References: <1992Aug26.170100.6270@iscsvax.uni.edu> <1992Aug27.164424.249@linus.mitre.org> <1992Aug28.003249.2349@beaver.cs.washington.edu>
  10. Date: Fri, 28 Aug 1992 15:56:51 GMT
  11. Lines: 52
  12.  
  13. In article <1992Aug28.003249.2349@beaver.cs.washington.edu>, pattis@cs.washington.edu (Richard Pattis) writes:
  14. > In article <1992Aug27.164424.249@linus.mitre.org> crawford@church.mitre.org (Randy Crawford) writes:
  15. > >...  Ada is too complex and few compilers are available/affordable on personal
  16. > >computers.
  17. > It isn't too complex for 1,500 introductory students/year at University of
  18. > Washington to learn.  
  19.  
  20. 1500 introductory students each year?  Are you graduating 1500 CS BS degrees
  21. every year, or are you weeding like mad?  Perhaps that explains why you've 
  22. chosen to teach Ada as a first language?  :-)
  23.  
  24. > And 50 or so other schools start with Ada also. Sure our
  25. > students struggle - about the same amount as I saw them struggle with Pascal.
  26.  
  27. So you consider the learning curve for Ada to be equivalent to that of Pascal?
  28. That surprises me a lot in that Pascal is a substantially smaller subset of
  29. Ada, and ought to be less to learn.
  30.  
  31. > We look at Ada as an improved and stardardized version of Pascal. In the first
  32. > quarter, students learn to read/write packages, handle exceptions, and use
  33. > unconstrained arrays, to name a few interesting Ada features. Oh, they actually
  34. > use these features in programs too: like writing a portfolio manager that
  35. > monitors simulated trends while buying and selling stocks.  In the second
  36. > quarter they learn to instantiate and write generic packages that export
  37. > private types.  This supplies them with a concrete way to implement, use, and
  38. > reimplement ADTs. 
  39.  
  40. I can appreciate the advantages of teaching ADTs using an Ada, C++, Eiffel,
  41. etc.  I've seen most schools faced with the difficult decision, "How to
  42. teach ADTs in a language which is appropriate as a first language?"
  43.  
  44. It seems to me though that too many schools are choosing an overly difficult
  45. first language (Ada or C++) only in part to teach ADTs.  But I see another 
  46. motive here -- culling out the overload of freshmen who enroll in CS programs.
  47. Am I wrong (not necessarily at U Washington, but in general)?
  48.  
  49. > OK, enough cheerleading here. I'm not advocating anyone use Ada, but I also
  50. > want to clear the record, at least from one school's perspective, about the
  51. > complexity of Ada. Sure we don't teach many parts of Ada (tasking) but it
  52. > doesn't get in the way. Our students write solutions to the same assignments
  53. > we assigned when we taught Pascal, and do so with less effort.
  54.  
  55. Unless you are handing them pre-written packages to use as stacks, queues,
  56. trees, etc, I still don't see how Ada can solve any programming problem with 
  57. less effort than Pascal.  OO programming languages demand _more_ from their
  58. programmers unless there is code reuse going on. 
  59. -- 
  60.  
  61. | Randy Crawford        crawford@mitre.org        The MITRE Corporation
  62. |                                                 7525 Colshire Dr., MS Z421
  63. | N=1 -> P=NP           703 883-7940              McLean, VA  22102
  64.