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