The best book on the market currently for learning programming in general, in my opinion, happens to use Perl as the basis for teaching programming. That book is Elements of Programming with Perl by Andrew Johson, published by Manning.

It starts off with basic programming logic without any programming commands.  That is to say it starts off with exercises and examples with just human instructions, but instructions that follow the logic a computer use.  This helps the reader to understand how to communicate with a computer without getting bogged down with learning commands.  Then the book gradually replaces these human instructions with simple Perl commands.  With Perl being a very natural programming language with many English like words that one would use in normal conversation, it makes for a natural transition from human to computer language.  A very clever approach that will give you a basic foundation in computer programming and Perl in a short period of time.

I will give you one warming about the book, though.  The first three chapters or so are so basic that it can be a little slow moving.  My advice is to force yourself through them because it will pay off.  After the first few chapters, it picks up speed and you can then jump around.  If you skip the foundational chapters, though, you'll soon find yourself confused and frustrated.  So, if you decide to use this book, commit to yourself to endure the first chapters and you'll be glad you did.


In reply to Re: programming language by Spenser
in thread programming language by Anonymous Monk

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.