I believe that learning C will most definitely help you be a better programmer. A majority of the software you use (including perl!) is written in C -- it can be powerful, portable (mostly), and fast. As others have said here, truely grokking C will force you to have a better understanding of how the computer works (e.g. pointers, memory allocation, etc.) It's a step up from assembly language (which I also recommend learning) but still close enough to the hardware to make you understand your machine. A quote I once heard was "C -- all the power of assembly language with the ease of use of assembly language." heh heh.
The book I most recommend for someone who already programs but wants to learn C is Kernighan and Ritchie's The C Programming Language. Kernighan and Ritchie invented C (and did a fair amount of the original Unix OS I believe).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
|
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.