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

Re: On bad habits

by 5mi11er (Deacon)
on Jun 21, 2005 at 16:24 UTC ( [id://468741]=note: print w/replies, xml ) Need Help??


in reply to On bad habits

Not using strict or warnings when I first start to throw something together. Then after working on it a few days, spending half a day cleaning it up when I finally remember to put those in.

Spending more time here than coding.

Using terse variable names that I can't remember what they meant after a month, and forgetting to add a comment that would remind me.

I'm also guilty of not enough comments around the difficult to read stuff.

Not having enough fortitude to get the last bits done so I would think that a project is FINISHED. But, part of this is the shifting demands about what is important at the time. Something "important" always crops up toward the end of a cycle, and after working on that for a while it's tough to go back to get the previous project done. It works, but definitely needs some polishing...

-Scott

Replies are listed 'Best First'.
Re^2: On bad habits
by PhilHibbs (Hermit) on Jun 27, 2005 at 15:30 UTC
    I always start my Perl scripts with a template file that has the "use warnings" and "use strict" already in it. Since I am working on Windows, it also has a variant on the bat2pl wrapper in place as well.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://468741]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found