One school of thought is that warnings are there to help you during development of your application. They are there to warn (sic) you of things that are not fatal but might (and will if you let them) come back and bite you if you don't fix them.

The idea is then that once your development is done and your program does not generate any warnings any more, they are turned off in the released version. If your code is working according to specs (i.e. it does everything it advertises to do, and it does it in the way that is in the user documentation) and you have robust error handling in place, warnings are no longer necessary according to this school of thought.

The obvious flaws here are of course that: i) no application that is more complicated than Hello World is ever working to specs, ii) no one can foresee every error that can occur let alone test your error handling for it and iii) no application is ever bug free.

Consequently, for the very same reasons Abigail mentioned, I would prefer to leave warnings on. "It doesn't work" just is no fun as a bug report.

CU
Robartes-


In reply to Re: Releasing code with warnings by robartes
in thread Releasing code with warnings by rir

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.