++
frankus... How did you know? I've learned to deal with this kind of thing by doing whatever I can to keep my code flexible, readable, and maintainable (not to mention correct). Because I know that
I'm the one who will pay for it in the end if my code doesn't meet those standards.
It's not easy to plan for future change, especially when you're on a tight deadline and your boss wants changes quickly. Still, each time I hear the little voices in my head saying, "It's only a temporary change, it's okay to stick in this kludge for now...", I try to resist it. Each time I feel like cutting and pasting, I remind myself that it doesn't take that much more time to pull the common code into a subroutine. Each time I feel like sidestepping something that does take time, I remind myself that it will take even more time in the future to undo my sloppy changes.
Anyway, it's tough, and I'm right there with ya. :-)
-- Mike
--
just,my${.02}
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.