Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Best way to study C on your own

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
begatelles
Posts: 47
Joined: 2007-01-03 12:24

Best way to study C on your own

#1 Post by begatelles »

Hey everyone

I have been programming for a couple of years at the University using asp.net, java and some assembly. However i have never had any classes on C and i decided to take it on my own. It's been a few months (perhaps 5 or 6) that i bought the book "The C Programming Language" by Kernighan and Ritchie and i'm trying to learn by reading through that. I think it's an awesome book and perhaps very Linux oriented as well. It dedicates an entire chapter on system calls and many examples pretty much resemble fractions of actual Linux programms (like grep for instance). http://www.amazon.com/exec/obidos/ASIN/ ... veda467-20

My question is, how can someone be efficient in learning a language on his/her own? Do you think reading the book and studying the samples in as much detail as possible would be enough? I am spending a lot of time each day going through the chapters in the book, but i never try any of the exercises. I completely understand most, if not all, of the examples but i do not do the exercises. I wrote quite a few 1-2 pages long programms when i was taking programming classes at the University, and to be honest it seems a bit odd going back and redoing the whole process from the beginning again. Do you think i can still gain some good C programming knowledge if i just keep reading the book? What methods of learning do you think someone should incorporate into his/her studies?

Please tell me what you think. I would very much appreciate any advices you might have. Thanks. :)

User avatar
drl
Posts: 427
Joined: 2006-09-20 02:27
Location: Saint Paul, Minnesota, USA

#2 Post by drl »

Hi.

My advice has always been that:

1) you need to train your fingers as much as you need to train your brain. You need a certain mind-body rhythm to do coding correctly and efficiently. I have declined training contracts because they had no or not enough hands-on time.

2) you need to write at least 100 programs to be comfortable, proficient, etc., in a language ( I call this, among other things, drl's limit ).

3) design is different from coding.

4) teaching a class (say in community education) is a wonderful way to learn, but can be very hard on the ego. Writing the lessons, even if you don't deliver them is an aid.

Best wishes ... cheers, drl
["Sure, I can help you with that." -- USBank voice recognition system.
( Mn, 2.6.x, AMD-64 3000+, ASUS A8V Deluxe, 3 GB, SATA + IDE, NV34 )
Debian Wiki | Packages | Backports | Netinstall

begatelles
Posts: 47
Joined: 2007-01-03 12:24

#3 Post by begatelles »

just what i was afraid of to hear. :D

Thanks for the response drl. I will definitely keep those points in mind. :)

Post Reply