Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Value of "RE"-coding for the newbie

by vladb (Vicar)
on Sep 02, 2002 at 02:27 UTC ( #194503=note: print w/replies, xml ) Need Help??

in reply to Value of "RE"-coding for the newbie

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://194503]
Discipulus shall be damned all progs that do not provide different font size!
[Corion]: Yeah - that's one important thing why I like to run my presentations from my browser. Ctrl+ and Ctrl- are incredibly helpful there to make sure everybody can read stuff

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-09-26 09:26 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.