[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Cox, Bruce" <Bruce.Cox@U...>
  • To: Mike Sokolov <sokolov@i...>, Alex Muir <alex.g.muir@g...>
  • Date: Mon, 6 Feb 2012 12:03:00 -0500

Our rules say that acronyms and abbreviations should not be used unless they are part of the commonly understood business language.  When they are used, they are all upper case.  Our bible also says, element names are UpperCamelCase, while attributes are lowerCamelCase, referring to the initial letter.  Really, no matter which convention you follow, you just need to document the rules and ask everyone to follow them. 

 

There are bound to be cases where someone forgets or deliberately steps outside the rules, so remember: this is not the most important part of what you’re doing.

 

Bruce B Cox

USPTO/OCIO/AED/SAED

571-272-9004

 

From: Mike Sokolov [mailto:sokolov@i...]
Sent: 2012 February 4, Saturday 16:46
To: Alex Muir
Cc: Uche Ogbuji; xml-dev@l...
Subject: Re: Should one adopt the tag naming convention of an existing XML vocabulary or create one's own tag naming convention?

 

My main beef w/camel case is what to do w/abbreviations (like LOL).  Should it be CamelCaseLol; not really - oughta be CamelCaseLOL I think.  You see this often with XML, which often gets rendered as Xml.  But if you try to make it look "right" to a human eye, by upper-casing, then software (like wikis) that interpret camel case tend to get it wrong.

Also, for programmer ease, it is sometimes good to have your software recognize the boundary within the symbol.  I find I often want to Alt-F to skip to the middle of the symbol, rather than right over it.

On 2/4/2012 3:31 PM, Alex Muir wrote:

LOL okay maybe it is

On Sat, Feb 4, 2012 at 8:31 PM, Alex Muir <alex.g.muir@g...> wrote:

CaseIs




--

Alex Muir
Program Organizer - University Technology Student Work Experience Building
University of the Gambia
https://sites.google.com/a/utg.edu.gm/utsweb/

Come visit Gambia enjoy the sun and culture and help out! Software Engineering Lecturers needed!
Join UTSWEB do local contract work or give a student a contract remotely for slow, cheap and good work https://sites.google.com/a/utg.edu.gm/utsweb/


Some fantastic African/Canadian Fusion  http://bafila.bandcamp.com/

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member