I'm not sure blindly following an expert's advice is always a bad idea.

I am not saying it is good to cargo cult into your programs everything you see an expert do, without understanding the mechanisms behind it or its context. But consider that some things during the learning process are going to be over the head of the learner.

When I first started learning Perl, I used strict and warnings because PerlMonks told me to. I was not at a level, however, to appreciate many of the reasons why it was a good idea. Yet, overall it helped me.

Even today, I have mastery of only a very small subset of the Perl language. I try out all sorts of stuff I see here that would have been beyond my capabilities to come up with on my own, with the intent of increasing my understanding. Recently I've been playing around with test-first design. Never tried it, might like it, might not, but were I not playing around in the edges of my knowledge I wouldn't learn anything.

I think that it is more important to be in the process of learning about your practices than it is to not "apply "Best Practices" without fully understanding the underlying mechanisms." (as the OP stated). If I limited myself only to what I understood fully, I'm not even sure how much would be left. I guess I could, uh, add and subtract numeric literals. No, wait, just integer literals, floats still do wonky things that throw me curveballs :).


In reply to Re^2: The cost of unchecked best practices by amarquis
in thread The cost of unchecked best practices by moritz

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.