Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Common sense, unfortunatly, is not as common as we like to think.

And that is the problem with the application of best practices et al many places. But shops that don't even try to do something like best practices, code reviews etc, they don't really shine, do they? (Now, I don't hint at that being your agenda, I kind of agree with you).

Just take as an example how people go to extremes about Damian Conway's great book, Perl Best Practices. He goes out of his way trying to drive home the point that it is not a Bible. Yet a suprisingly large crowd hold it as dogma and use that either "for" it or against it.

I think we need to at least try to learn from each other, and code reviews would be great. Application of common sense would be really great too.

As for testing, yeah, a push for that would be great too. If only the bosses would even demand a proof that perl still is able to load a module, they might understand that they should ask for more interesting tests. :o)


After actually reading the article I think I was on the right track above. See, the problem with both under- and overuse of best practices is that common sense is kept out of the picture. To a certain extent, best practises is meant to remedy temporal and accidental lack of briliance, but all too often they are the only thing keeping the house from falling apart, and then nothing is pretty.

Somebody else here asked about what this has to do with Test::*, and I wonder too. Care to elaborate?


In reply to Common sense is not by stiller
in thread Testing methodology, best practices and a pig in a hut. by BrowserUk

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, 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
  • 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (3)
    As of 2020-11-28 17:21 GMT
    Find Nodes?
      Voting Booth?

      No recent polls found