home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / c / 12938 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.5 KB

  1. Path: sparky!uunet!psgrain!percy!3cpu!edrury
  2. From: edrury@3cpu.rain.com (Ed Drury)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Most difficult part of learning C?
  5. Message-ID: <4225@3cpu.rain.com>
  6. Date: 28 Aug 92 21:42:15 GMT
  7. References: <9208251159.AA04122@ult4> <15230@ksr.com> <94798@bu.edu>
  8. Reply-To: edrury@.UUCP (Ed Drury)
  9. Organization: Garden Lane Software
  10. Lines: 25
  11.  
  12.  
  13.  I guess I'm the only one who had this trouble learning C, but for
  14. me personally, I could have received a lot more help with memory
  15. management. In the previous languages I had experimented with, the
  16. programmer was not allowed to handle dynamic memory management - at
  17. least he certainly wasn't encouraged to. Suddenly, I'm able to make
  18. spectacular crashes and real hard to find bugs by creating dangling
  19. references. The information in K & R and my compiler manuals on
  20. malloc, calloc, and free seemed straight forward. But in practice I
  21. was dazed and confused. Now I was writing in a language which allowed
  22. me to fiddle with things I didn't understand the theory behind.
  23.  
  24.  So , I guess what I'm saying is that in my case some assumptions
  25. were made about where my level of understanding language implimentation
  26. and computer theory were made. In my case, I was playing catch up
  27. ball and couldn't appreciate C fully without this background. Doing
  28. some extra home work in this reguard, doors opened, bells chimed and
  29. I fell in love a second time with this language. And the second time
  30. is more beautiful.
  31.  
  32.    Ed
  33. -- 
  34.    __
  35.  /--   __/
  36. (___, (_/rury@3cpu.rain.com
  37.