Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

FGATAW - the companion to a FAQ

by herveus (Prior)
on Jul 08, 2005 at 12:32 UTC ( [id://473391]=perlmeditation: print w/replies, xml ) Need Help??

Howdy!

FAQs can be valuable by collecting Frequently Asked Questions. A useful adjunct would be a FGATAW - Frequently Given Answers That Are Wrong.

I've seen this approach used to constructive effect in other endeavors; I wonder how many zingers y'all have seen...

yours,
Michael

Replies are listed 'Best First'.
Re: FGATAW - the compantion to a FAQ
by Zaxo (Archbishop) on Jul 08, 2005 at 12:40 UTC

    In Perl, the "parens make it a list" thing tops my (list). It's just barely true enough to be plausible.

    After Compline,
    Zaxo

Re: FGATAW - the compantion to a FAQ
by xdg (Monsignor) on Jul 08, 2005 at 15:50 UTC

    To make this useful to readers of all levels, I think it should include not just the incorrect answers, but some comments as to why they are wrong.

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Re: FGATAW - the compantion to a FAQ
by adrianh (Chancellor) on Jul 08, 2005 at 15:11 UTC
    Frequently Given Answers That Are Wrong

    That these are exactly equivalent:

    # assuming $o = Class->new; Class::method( $o ); $o->method;

      You forgot the insidious syntax. This one is also not identical.

      $o = new Class
Re: FGATAW - the compantion to a FAQ
by Courage (Parson) on Jul 08, 2005 at 13:27 UTC
    "Python is bad because it has white-space identiation rules"

    saw it innumerable times.

      Well, I think this statement is understandable. It does sound strange and feel awkward at first. But I believe it's something you can easily get used to. I've never used Python myself, but I used to program in Clean which uses (optionaly) the whitespace indentation rules as well and got used to it much sooner than expected. But it surely did sound crazy at first.

      Jenda
      XML sucks. Badly. SOAP on the other hand is the most powerfull vacuum pump ever invented.

      Not necessarily bad, just annoying. There's something oh so wrong about escaping new lines. Not '\n', I'm talking about:
      $var = "this\ is\ one line";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://473391]
Approved by Arunbear
Front-paged by Courage
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found