Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1149149]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2023-03-26 22:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?