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

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?


Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://492165]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2018-01-23 22:54 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (254 votes). Check out past polls.