In my mind, code in magazines and on the Net is always 'buyer beware'. Code in shrink wrap is no better, but at least with open source, you have a choice. As a programmer, you have an *informed* choice. Certainly the 'use x & y' mantra is oft enough repeated around here that anybody beyond the Rabbit-book level is educated enough to be aware of what those pragmas can do for you, if not necessarily what they can do _to_ you.

I've written for print mags and online before, and I always distill my code down to the essence because if I don't, the editor will take a meataxe to it. The point made upthread about explaining the omission is a great one; I'll add a para to my future texts about that because I'm always out to educate future proggies to give them a chance to become better than me... :D

In reply to Re: Is it me? by samizdat
in thread Is it me? by tcf03

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.