W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > April 2015

Re: [web-bluetooth] Confusing uppercase/lowercase

From: Vincent Scheib via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Apr 2015 21:12:22 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-93571006-1429132341-sysbot+gh@w3.org>
I made changes in the past changing case to all caps: e.g. instanceId 
-> instanceID. This was based on some quick spec searching and asking 
a few Chrome folks - it wasn't a obvious or clean decision, but I like
 it.

I think we should move all other uses to all caps, e.g. 
BluetoothServiceUuid -> BluetoothServiceUUID.

..uuid appears as an attribute on several interfaces, e.g. 
BluetoothDevice. Tricky, but I think we should go with the lowercase 
leading portions of attribute names convention, and thus leave these 
as .uuid.

If it were a multi term attribute leading with an acronym, I'd suggest
 uuidOtherWords.

-- 
GitHub Notif of comment by scheib
See 
https://github.com/WebBluetoothCG/web-bluetooth/issues/83#issuecomment-93571006
Received on Wednesday, 15 April 2015 21:12:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 15 April 2015 21:12:31 UTC