W3C home > Mailing lists > Public > public-webapi@w3.org > May 2006

Re: XHR constructor example

From: Robin Berjon <robin.berjon@expway.fr>
Date: Sun, 14 May 2006 23:31:37 +0200
Message-Id: <F589BBC4-673B-4461-B5B1-3F863D9B5B7F@expway.fr>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
To: Anne van Kesteren <annevk@opera.com>

On May 14, 2006, at 14:51, Anne van Kesteren wrote:
> On Sun, 14 May 2006 14:05:57 +0200, Ian Hickson <ian@hixie.ch> wrote:
>> Please don't use single letter variable names for anything but  
>> loop index
>> variables (in languages that require those), it's generally considerd
>> quite bad practice.
> Sure, give a me a sensible suggestion and I'll take it. Given  
> recent discussions (you can post as well as retrieve) I'm not sure  
> the original suggestion `var request` makes sense.

It's not as if that were crucially important either... Me, I'd call  
it 'fraggleRock', but if you want to be totally sure to have a  
variable name that describes what it points to, call it 'xhr'.

Robin Berjon
    Senior Research Scientist
    Expway, http://expway.com/
Received on Sunday, 14 May 2006 21:31:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC