home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / programm / 2368 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.8 KB  |  41 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!nntp1.radiomail.net!fernwood!metrop!robert
  3. From: robert@metropolis.com (Robert Munyer)
  4. Subject: Re: Teaching the basics
  5. Message-ID: <Bt6DGq.HuB@metropolis.com>
  6. Organization: Metropolis Software, Inc.
  7. References: <1992Aug17.123916.14815@husc13.harvard.edu>
  8. Date: Tue, 18 Aug 1992 10:36:25 GMT
  9. Lines: 30
  10.  
  11. In article <1992Aug17.123916.14815@husc13.harvard.edu>
  12. peregrin@husc13.harvard.edu writes:
  13.  
  14. > [...] Basically, I'm giving you all the oportunity to tell a programming
  15. > teacher what to better prepare students with.
  16.  
  17. Yo, James!
  18.  
  19. I'd say the most important skill that is lacked (!) by a whole lot of
  20. programmers, not necessarily only entry-level ones, is TESTING.  They should
  21. know how to be sure that their code will "do the right thing" for any
  22. possible combination of inputs.  Reading in a resource from disk?  Don't just
  23. assume blindly that there will be enough memory for it.  Check and make sure!
  24.  
  25. There is way too much software in the world that will crash your machine
  26. depending on whether it is Tuesday and what phase the moon is in.
  27.  
  28. ______________________________________________________________________
  29. Robert Munyer            |   "I may be synthetic, but I'm not stupid."
  30. robert@metropolis.com    |      -- Bishop, _Aliens_
  31.  
  32. P.S.  I know that C is fashionable, but it's really not a very good language
  33. for teaching complete beginners.  C has a lot of "traps and pitfalls" for the
  34. unwary.  When you're not even ready to learn about pointers, C is not much
  35. more than a twisted version of Pascal.  What good is C without pointers?
  36.  
  37. They'd be better off starting with Pascal (or Modula-2 or -3), and switching
  38. to C only after they've learned how to use pointers in Pascal.  Of course,
  39. often there are political considerations, and there's not much you can do.
  40.  
  41.