- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Aug 2015 11:52:10 +0000
- To: public-web-nfc@w3.org
In most cases using the full caps for initialisms is OK, unless adjacent to a next word, when it's both ugly and less readable (consider a hypothetic XMLHTTPRequest). I would argue that though initialisms are all uppercase in free text (NFC, XML, HTTP, UUID etc), but in code (variable and function naming) it would be fine to use CamelCase: for instance, XmlHttpRequest looks better IMHO than either XMLHttpRequest, or XMLHTTPRequest). But tradition is likely too strong for some of the names (even I would blink on seeing DomElement for instance :). But instead of 'ID' I would use 'Id' for sure. -- GitHub Notif of comment by zolkis See https://github.com/w3c/web-nfc/issues/27#issuecomment-129420218
Received on Monday, 10 August 2015 11:52:11 UTC