Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

FGATAW - the companion to a FAQ

by herveus (Parson)
on Jul 08, 2005 at 12:32 UTC ( #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...


Comment on FGATAW - the companion to a FAQ
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
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? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-10-13 23:41 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (318 votes), past polls