Let me get it out of the way by saying that perl is a good language, right off, now, onto why you should learn C.

C is an excellent language, and it is important for many reasons. Anybody who questions its relevance to perl should download the source distribution and look at its contents... as it is written entirely in C.

C introduces many important concepts to programmers, but by no means do I believe that a programmer's training is complete in having mastered it.

One important thing is memory addressing. Memory addressing is an important concept. Another is typecasting. While typecasting is important to learn, types are not strongly enforced in C, as in it is not a "strongly typed" language. An example of a strongly typed language is Ada, a popular programming language that was developed for use in embedded systems (and is actually one of the better programming languages known to the world, it often gains criticism for being "clunky" or "awkward," but most Ada programmers would tell you it merely requires you to program correctly).

So, what am I saying and how does this relate to you? Learning C is a step in the right direction towards being a better programmer. It opens a realm of possibilities to you that you may never have considered before, such as writing operating systems, device drivers, and even 3D video games. This isn't to say that what you have learned from perl isn't good knowledge, and this isn't to say that you will know how to write an operating system just by knowing how to write C code (far from it), but anybody who hasn't learned C certainly could benefit from it.

Just Another Perl Backpacker

In reply to Re: How does learning C benefit a programmer? by Nitsuj
in thread How does learning C benefit a programmer? by nysus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.