W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

Re: Pre-LC Review Requested: System Information API

From: Robin Berjon <robin@berjon.com>
Date: Mon, 17 May 2010 09:41:34 +0200
Cc: timeless <timeless@gmail.com>, public-device-apis@w3.org, WebApps WG <public-webapps@w3.org>
Message-Id: <3B926084-C7F8-49C8-896D-4F8750999BF4@berjon.com>
To: Max Froumentin <maxfro@opera.com>
On May 12, 2010, at 11:35 , Max Froumentin wrote:
> I think that I leaning towards the former now, but with string values
> [[
> attribute type;
> one of "Wired", "WiFi", "Bluetooth", "GPRS", "GSM".
> Updates of this specifications may standardise more string values. In the meantime vendors may define non-standard values, blah blah blah
> ]]

I'm always in favour of using string values rather than numerical constants. Amongst other things it buys us cheap extensibility based on vendor prefixes.

-- 
Robin Berjon - http://berjon.com/
Received on Monday, 17 May 2010 10:31:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT