Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: On bad habits

by 5mi11er (Deacon)
on Jun 21, 2005 at 16:24 UTC ( #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
Node Status?
node history
Node Type: note [id://468741]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2018-11-17 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (202 votes). Check out past polls.

    Notices?