Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: At what rate are YOU progressing?

by lindex (Friar)
on May 02, 2001 at 18:53 UTC ( #77345=note: print w/ replies, xml ) Need Help??


in reply to At what rate are YOU progressing?

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 /*****************************/


Comment on Re: At what rate are YOU progressing?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77345]
help
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: (14)
As of 2014-12-19 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (92 votes), past polls