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

Re: XHR constructor example

From: Mark Nottingham <mnot@yahoo-inc.com>
Date: Mon, 22 May 2006 11:32:32 +0100
Message-Id: <C16902B0-DD93-4882-AADC-84888FD496A1@yahoo-inc.com>
Cc: "Ian Hickson" <ian@hixie.ch>, "Daniel Schierbeck" <daniel.schierbeck@gmail.com>, "Web APIs WG (public)" <public-webapi@w3.org>
To: Anne van Kesteren <annevk@opera.com>

client. (XHR is a HTTP client API specification).


On 2006/05/14, at 1:51 PM, Anne van Kesteren wrote:

>
> On Sun, 14 May 2006 14:05:57 +0200, Ian Hickson <ian@hixie.ch> wrote:
>>>>   var request = new XMLHttpRequest();
>>>
>>> Given that it doesn't have to be a request I think 'r' is saver or
>>> perhaps just 'x'...
>>
>> 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.
>
>
> -- 
> Anne van Kesteren
> <http://annevankesteren.nl/>
> <http://www.opera.com/>
>
>
>

--
Mark Nottingham
mnot@yahoo-inc.com
Received on Monday, 22 May 2006 11:04:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT