I strongly agree with this excellent summary by GrandFather. There is a basic problem with the OP's summary statement, and the update doesn't really correct it:

In summary, don't blindly follow the rules or be afraid to break them. Think for yourself and make sound judgements.

The problem is that, without noticeable exception in my experience, any 'hacker' who is tempted to 'break the rules' fails to possess the judgment necessary to evaluate the extent of his or her own wisdom (or lack thereof). Programmers are an arrogant breed, and we are often guilty of overestimating our own intelligence or knowledge base. Saying it in another way, while we may have a pretty good idea of what we know, we are rarely in a position to know the extent of what we do not know. Rules or guidelines are the safety nets of the developing world, which help us avoid pitfalls that we might not even see, or are perhaps dimly aware of. Personally, I suspect that the so-called legitimate reasons for breaking the 'rules' fall into two categories:

  1. They illuminate an ill-conceived 'rule' or a guideline that is insufficiently precise
  2. They illustrate the triumph of the developer's ego over his understanding

I don't like rules any more than the next guy, and sometimes it irritates me when people spout a generalized version of a rule that doesn't apply to my specific situation. But nearly every major disaster that has befallen me in my programming career has been the result of ignoring one of these best practices.


No good deed goes unpunished. -- (attributed to) Oscar Wilde

In reply to Re^2: Breaking The Rules by ptum
in thread Breaking The Rules by Limbic~Region

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.