Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: What's your Module Template

by castaway (Parson)
on Sep 15, 2005 at 11:04 UTC ( #492165=note: print w/ replies, xml ) Need Help??


in reply to What's your Module Template

I don't have one.

Thus forcing myself to remember what I'm doing, and not just having a bunch of default code that may or may not be relevant to the module I'm writing.

What's yours btw?

C.


Comment on Re: What's your Module Template
Re^2: What's your Module Template
by robot_tourist (Hermit) on Sep 15, 2005 at 11:15 UTC

    I believe in the third way, although I'm definitely not a New Labour or Tony Blair supporter (except when he annoys the unions and I thought the minute or so I saw of his speech to the UN the other day was rather good).

    I think it's always good to have a little boilerplate, like comments and use strict, maybe constructor templates, etc, because it helps with best practice. But it's bad (I know from experience) to just get an old project (usually in Delphi where I work, although sometimes in Perl too) and just save it under a different name and start writing the stuff that's specific for the new project.

    How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
    Robot Tourist, by Ten Benson

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-08-23 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls