Lately I've been reading a number of books with included
exercises (ANSI Common
Lisp, Structure and
Interpretation of Computer Programs, and
Programming, in particular). I'm finding it useful to
work through the exercises not only in the expected
language, but in others as well, naturally including Perl.
(In fact, I've been working through them in C, Perl, and
Common Lisp. Scheme's on my to-do list.)
This is a great way (IMO) to:
- Improve your general programming skills.
- Expose yourself to different ways of doing things.
- Find out a language's strengths and weaknesses in very
difficult to ignore ways.
- Generally stretch your brain.
I encourage my fellow monks to consider using multiple
languages the next time they read a suitable book. Most of
the problems are small and well-defined, and won't take a
hell of a lot of time. (Most of them are fairly easy, to
And if you don't know any other languages, this might
not be a bad excuse to learn one....
Found a typo in this node? /msg me
The hell with paco, vote for Erudil!
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link
or How to display code and escape characters
are good places to start.