Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

As far as telling how fast and how far are you progressing with a tool, or in this case a programming language, all I can share is my own method.

Take something simple you wrote along time ago, (in the world of computers this would be 8-3 months ago :) ) now take what you wrote and write the same thing but as you would do it now, disregard any of your old code and just do it as though it is a problem and a task presented to you at the present moment. Now take those two peices of code and evaluate the quality of both, the chances are that if you have learned anything at all since you first wrote said peice of code that the newer one is going to be faster cleaner and what not.

Another way one can look at is this. Take a problem from this site, maybe something that is written about in Seekers of Perl Wisdom and that is replied to with code as a solution by a perl programmer you respect and beleave is better than you, aka "a good perl programmer". And without looking at the code they posted, write your own solution and then compare there code vs. yours.

An example of this little method of mine that I ran into once was a situation where I wrote a peice of code for one of my clients. It was supposed to be a simple image manipulation script, that would take images in a directory and process them in a way and then store them somewhere else. Now mind you this was about a year ago and I knew a whole lot less about perl than I do now. So I wrote this script and it was about 200 lines of code and was really ugly. Well recently that same client asked me for some more things (features) to be added into that script. Well once I started on adding those features into the script and took a look at the code for the first time in about a year, I was amazed at how horrible the code was. Well I rewrote it from scratch, and now its about 50 lines of much cleaner code and 800 precent faster with new features and all (where as the new script processes the same image in 1/8th the time the old one would).

I guess what it really comes down to is whether or not you are happy with how good your code is. And that all depends on how you view your code in comparison to other people code and that all depends on how good you view there code.

Well anyways that just my two cents, and Iam going to stop babbling now :)




lindex
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/

In reply to Re: At what rate are YOU progressing? by lindex
in thread At what rate are YOU progressing? by mothra

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 cooling their heels in the Monastery: (7)
    As of 2014-12-21 18:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      Is guessing a good strategy for surviving in the IT business?





      Results (106 votes), past polls