Absolutely no debate there, quick-n-dirty is generally not a good way to go. In this case its a project I outlined about a year-and-a-half ago and then had to shelf due to other assignments. Now my boss is telling me he wants it up and running yesterday (nevermind he hasn't actually given me any time to do it). MY own estimation to do the project "right" is a couple of months. He wanted it in three days (by "it" he means something useful he can give to another group that does monitoring, who has nothing at all now).
The "real" answer, when I am permitted more time to work on it properly, is to define a well-balanced set of objects, bind them to xml-ish config files and thus make something beautiful and easily reconfigured. It really grates on me doing all this "hard-coding". I hate it. I already have some of the important parts built though, and they're already reasonably configurable. And I'm working from a pretty well fleshed-out concept document that I did awhile back, so I have a pretty-good roadmap to follow.
I just wish my boss understood that writing programs takes time. You can't just assign me a program on Monday, tell me its due on Friday, and then suck up all my time on other, unrelated projects all week and then expect it to magically pop out on the other end... (sigh) What can ya do?? :)
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.