To me, beauty comes when I can accomplish something relatively easily. Of course, as do almost all of my work in Perl these days, I don't have those periods of struggling with something in {insert language name here}, and then switch back to Perl, and find that I can significantly reduce my number of lines of code (without significantly obfuscating it -- I'd rather have it be maintainable than be short ... of course, fewer number of steps tends to be more maintainable).

You start to take for granted many of the more simple things. You tend to be impressed by the simple things that you just couldn't do (or couldn't do easily, or without extra steps), in whatever languages you learned before you got to Perl.

For instance, someone who's only dealt with Perl, and other languages from its generation wouldn't fully appreciate:

($a, $b) = ($b, $a);

or

foreach my $item ( @array ) { ... }

or garbage collection. Or not needing to malloc all of your arrays. Or dealing with strings, without needing to worry about buffer overflows. Or strings longer than 255 characters.

(Yes, I know, there are other languages that do this, but Perl was the first one I came across, and used it enough to be comfortable in.)

PS. HTML is not "programming", with or without the quotes.


In reply to Re: Beautiful Perl by jhourcle
in thread Beautiful Perl by BrentDax

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.