First of all, I program for fun! This obviously yields a very different story than when you have to "get the job done".
The objectives I have when I write vary a lot, but usually include one or more of:
- Use of some specific language features I want to explore
- Some abstract "beauty" criteria (which may have nothing to do whatsoever with readability)
- Occasionally complexity or obfuscation
- Shortness (especially when golfing, but in regular code I'm also opposed to verbosity)
- Elegance of the external interface
- Speed optimization (when I'm in the mood; rather than when it's useful to do so)
About two months ago I decided that perl was a useful thing to know. I already knew heaps of different languages before i learnt perl (REALbasic, C, C++, Objective C, FORTH, PPC assembly, PostScript, HyperCard, Frontier, AppleScript, INTERCAL, Unlambda, and bits and pieces of other languages like Java, Scheme and Prolog) so I was able to learn perl quickly from the manpages (including perldelta to check on the latest features ofcourse :-)
While learning perl I got involved in some perl-golf sessions on irc. Soon after that I started doing real stuff (co-authored Attribute::Property, joined perlmonks, wrote Data::XDumper, and wrote this reply to your meditation.
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, 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, 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.
|
|