As I say on my home node, behind the scenes the two of us
were engaging in much more friendly chatter. But still the
discussion at
Re (tilly) 2 (disagree): Another commenting question, has a lot to say about
commenting style.
As for your specific point, if a function will have many
arguments, I make the arguments to the function a hash.
Should I need to fundamentally change what a function that
is part of a public API does, I write a new function, gut
the old and make it a wrapper around the real function.
Or vice versa. Plus I make my functions small and simple.
If they do something simple and clear, then I find that
they do not find themselves in need of great amounts of
editing later.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.