Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

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??


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...


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,

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.


    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.

      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?

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
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-06-22 05:29 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.