- From: Robin Berjon <robin@berjon.com>
- Date: Fri, 11 Feb 2011 10:58:53 +0100
- To: Dominique Hazael-Massieux <dom@w3.org>
- Cc: Niklas Widell <niklas.widell@ericsson.com>, Rich Tibbett <richt@opera.com>, public-device-apis <public-device-apis@w3.org>
On Feb 10, 2011, at 17:04 , Dominique Hazael-Massieux wrote: > I think the difference between msg.create(type) vs msg.create(uri) is > mostly cosmetic, but one clear advantage is that you don't need to add a > new constant to handle a new message type, you "only" need to rely on a > related URI scheme. I don't know if it's all that cosmetic. If we use a type we have to define the way in which the other parameters are passed (e.g. to, cc, subject) whereas if we reuse a URI scheme presumably it knows how to carry its own information. -- Robin Berjon - http://berjon.com/
Received on Friday, 11 February 2011 11:17:31 UTC