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

comment on

( [id://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)

cheers

Update
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?

d.s.


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

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2024-04-18 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found