Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
IMHO, it is time to "RE"-code the original. In doing so, you will assimilate the new technique so that you don't make the mistake again. Most likely, you will reduce the size of the original and make it run faster. Almost definately, you will learn more new techniques in the process.

This is so true. In my experience it almost always hurts to revisit my old code. Quite frankly, I've never learned to like my coding, especially that done in the past, and whenever I revisit I just have to change things around (as time allows). Hopefully this may be an indicator of my evolving into a better Perl hacker ;-). For if upon encountering an older code I didn't consider anything for a change, this would only indicate the three things: 1) My past code was near perfect (*laughs*); 2) I haven't gained any coding wisdom and know-how (so painful it couldn't be true! or could it?); 3) I have degraded in my knowledge of Perl to a point where my old code seems perfect... It's best if out of the three, none is true ;).

As far as learning new languages, I think you are also on target. Provided you have had earlier extensive (or near so) practical exposure to other languages, the matter of learning the guts of a new language pretty much concludes in learning the new syntax and 'culture'. My first encounter with Perl happened after nearly 3 years of non-stop C programming. The transfer wasn't too painful, in fact, I'd enjoyed it much especially realizing how much simpler it was compared to my older favourite.

_____________________
# Under Construction

In reply to Re: Value of "RE"-coding for the newbie by vladb
in thread Value of "RE"-coding for the newbie by Limbic~Region

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (6)
    As of 2014-08-30 08:21 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The best computer themed movie is:











      Results (291 votes), past polls