trying again (email on the road sucks) ... I vote for {} because it  
saves me 12 characters of typing :)

Paul

On 24-Jul-07, at 4:24 PM, Jeff Yutzler wrote:

> I vote for {} and [] rather than new Object() and new Array().
> They are completely equivalent so I see no reason not to use the  
> shorter one.
>
> [EMAIL PROTECTED] wrote:
>> Message: 1
>> Date: Tue, 24 Jul 2007 14:43:09 -0500
>> From: "Erik Uzureau" <[EMAIL PROTECTED]>
>> Subject: [OpenLayers-Dev] {} or new Object()
>> To: "[EMAIL PROTECTED]" <[email protected]>
>> Message-ID:
>>      <[EMAIL PROTECTED]>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> Paul has just gone vocal with his preference for using {} instead of
>> "new Object()" for the instantantiation of a new object.
>>
>> We do not currently have any policy for this. Do people feel strongly
>> one way or the other?
>>
>> Obviously it's not a big issue, but if there is broad support for
>> doing it one way or the other, we might as well attempt to  
>> standardize
>> a bit.
>>
>> Erik
>>   <jeff.yutzler.vcf>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev

+-----------------------------------------------------------------+
|Paul Spencer                          [EMAIL PROTECTED]    |
+-----------------------------------------------------------------+
|Chief Technology Officer                                         |
|DM Solutions Group Inc                http://www.dmsolutions.ca/ |
+-----------------------------------------------------------------+





_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to