I am not sure what your objection is. You are saying that
most people don't do a good job? True but IMHO irrelevant.
As the saying goes, there is no real difference between Perl scripting and Perl programming, but the ones who think of it as programming generally do a better job.
As you note, scripting the problem straight through makes
it harder to understand later than programming it properly.
As you mention, people often script and then try to solve
their problems with volumes of documentation. At which
point you have two problems instead of one.
Documentation is both good and necessary. It tells people
what they can and cannot expect, it tells people what
interfaces should be used and how to use them, it
provides a spec by which the programmer figure out what
the code should be doing, it provides something for
testers to test and it helps users.
It does not replace the need to program well.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||