As others have said, C is the underpinning of much (though not all) of the freely-available code that's available on the net. Some reasons you might want to learn it:
- if you want to get a feel for the operations of your programs at a level closer to the actual machine
- if you want to extend Perl through the use of Inline (or XS) (though you can use other languages with Inline)
- if you want to help with Perl (or much other open-source) development
- if you want to do embedded systems development with small microcontrollers and don't want to use assembly language (IT is only one part of the computer programming world, after all)
Some reasons you might want to learn some other (different kind of) language first:
- C's structure is not as different from Perl's as some other languages are; you are going to be re-hashing many of the same ideas
- You won't pick up too many powerful new ideas from C that you can use to improve the way you look at designs
- C can be a difficult language in which to express algorithms readably, especially because of its lack of memory management and high-level data structures.
Other sources of good ideas? Object-oriented languages, functional languages, parallel processing languages, distributed-system languages, database languages. Oldies but goodies like Smalltalk and Lisp will have more information available on the 'net, generally.
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.