Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: My coding guidelines

by Anonymous Monk
on Nov 25, 2002 at 19:37 UTC ( #215714=note: print w/replies, xml ) Need Help??

in reply to My coding guidelines

18. POD SHOULD not be interleaved with the code, and is not an alternative for comments.

Comments and POD have two different purposes. Comments are there for the programmer. The person who has to maintain the code. POD is there to create user documentation from. For the person using the code. POD should not be interleaved with the code because this makes it harder to find the code.

There would be no need for this if Perl had multi-line comments. And please don't tell me about the Acme module. Or the infamous here-doc technique. This must change! This is so sad!

Replies are listed 'Best First'.
Re: Re: My coding guidelines
by Juerd (Abbot) on Nov 25, 2002 at 21:20 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2021-02-25 17:26 GMT
Find Nodes?
    Voting Booth?

    No recent polls found