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

Re: José's Guide for creating Perl modules

by Anonymous Monk
on Dec 02, 2015 at 14:16 UTC ( [id://1149149]=note: print w/replies, xml ) Need Help??


in reply to José's Guide for creating Perl modules

<quote>Start with the documentation. My experience tells me that coding gets much easier after you've documented every single one of your functions. </quote>

After 50 years of programming, I could not agree more. Explain, both to yourself and others, what you are trying to achieve and the coding will be so much easier.

The documentation also controls the writing of tests. You have to test what the code is *intended* to do, not what it actually does. Writing tests from the code only checks that the code does what it does, not what it was intended to do.

  • Comment on Re: José's Guide for creating Perl modules

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 21:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found