Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
Two thoughts:
  1. I saw a question on a JavaScript newsgroup or forum, which was essentially "how do I get checkboxes to behave like radio buttons?" -- how to get a set of checkboxes where if one gets checked, the others become unchecked.

    Three or four people gave solutions -- it's not hard to get an array of all checkbox objects and check or uncheck them programatically in JS -- but only one said "that's a terrible idea! Checkboxes are checkboxes and radio buttons are radio buttons. You will upset and confuse your users if you do this". That's a much better response than just telling them how to do it, because they've misunderstood something fundamental, or they wouldn't be asking.

  2. I often see on PerlMonks a kind of intermediate variety of this problem. It's not "how do I do (something stupid or dangerous or wasteful)" it's "I want to do (something quite sensible-sounding) and I've already determined that I'll do it such and such a way, and I'm stuck, please help me".

    It's like someone's written "I want to get a screw into some wood, but my hammer's handle is slippery, what shall I use to make the hammer do the job better?" and you have to say that a screwdriver is the correct solution. And probably just as often, the person asking says "I want to fix two bits of wood with one of those metal things, which hammer should I use?" and you have to encourage them to explain whether it's a screw or a nail in a follow-up post.

--
“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
M-J D

In reply to Re: On Answering Questions by Cody Pendant
in thread On Answering Questions by merlyn

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!
  • 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
  • Outside of code tags, you may need to use entities for some characters:
            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?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (15)
    As of 2014-07-24 14:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (160 votes), past polls