In my experience with my own modest Perl skills I have gradually moved from the "hack-hack-hack-does it work? Yeah!" style of coding to a more aesthetic appreciation for the artistic aspects programming. When I'm working on a project I try to figure out an elegant solution to the problem, that is, a solution that requires the least amount of coding, but the implementation itself isn't always very elegant. Now, I certainly know when I've written something sloppy, and although most the time I have to go with it due to time constraints, but it doesn't keep me from feeling dirty somehow. I certainly appreciate programming elegance even if I'm not capable of it.

I aspire for the day when my programs become elegant both in form and in function, because I think Merlyn's right: the more artistic a program is the easier it is to maintain, the easier it is to read, the better it works.

But for now I am content to color with crayons. I will leave the oil paints to the Gurus.

Gary Blackburn
Trained Killer


In reply to RE: On elegant coding... by Trimbach
in thread Just thinking ... by toadi

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.