Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Josť's Guide for creating Perl modules

by Anonymous Monk
on Dec 02, 2015 at 14:16 UTC ( #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
Node Status?
node history
Node Type: note [id://1149149]
help
Chatterbox?
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2017-12-17 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?