On Wed, Nov 24, 2010 at 3:55 PM, James Hozier <guitars...@yahoo.com> wrote:
> My first programming language ever was Visual Basic, but I was 11 years old
at the time and it was just a mandatory elective class I had to take to get
credits in order to graduate school, and I didn't even know what a programming
language was back then. I thought I was just writing words on the screen to
make the program do things (we made stuff like tic-tac-toe, shooting a
basketball into a hoop by inputting correct coordinates/arch, etc.) I forgot
everything I learned since then, so I have absolutely no recollection at all
of VB except "rem" which I recall as being equivalent to a comment in any
other language.
>
> Later when I began to edit code to make programs do exactly what I wanted, I
basically guessed what all the functions did and how the programs worked to
modify them, and as long as they worked, I really wasn't concerned at all
about how crappy the quality of the code was. So I decided to actually learn a
language and I had heard Python was easy so I started learning Python first.
But before finishing the first chapter I was told by several people that Perl
was much "better." Considering their opinion was probably better than mine, I
switched to Perl and picked up a book for Perl beginners but again before I
even learned the print function, I read online that the first programming
language one learns could be crucial to the person's future programming skills
and habits that become ported to other programming languages they learn later
on, and I don't want to develop any bad habits and practices. I've decided to
choose C as my first language, for various
>  personal reasons (mostly to audit code for security).
>
> So, as a newbie with no knowledge in programming at all whatsoever and
wanting to learn C, I bought K&R's The C Programming Language (2nd edition) as
per the suggestion on the OpenBSD website. I read the disclaimers in the intro
of the book, and read on anyway. But the book seems to move very fast and does
not elaborate too much on the features of the language, I guess due to the
book not being total-noob-friendly. I can barely follow along and get what's
going on, but have no idea what the terminologies and phrases being used in
the book mean since the book assumes the reader knows basic programming such
as arrays and stuff like that.
>
> Are there any books that are more noob-friendly that want to learn C as
their first language and explain basic programming terms along the way?
>
>

The classic "The C Programming Language" is good.

After that, learn from good sources; for raw C manipulation, OpenBSD
libc is full of neat tricks.

Reply via email to