[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Should one adopt the tag naming convention of anexisting X

  • From: Amelia A Lewis <amyzing@talsever.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Fri, 3 Feb 2012 22:27:29 -0500

Re:  Should one adopt the tag naming convention of anexisting X
On Sat, 4 Feb 2012 14:01:44 +1100, Greg Hunt wrote:
> Do whatever balances consistency and existing local practice to minimise
> mental gear-changing.

Bravo!

Roger, the tools that you supply to [whoever] should be well-made, such 
that they neither cut the hand, nor deceive the eye (don't design a 
hammer that looks like a screwdriver; it may be funny, but it's just an 
annoyance on site).

Merging hyphen-delimited and camelCase?  You're pretty much screwed 
from the start.  For all *your* names, do hyphen-Camel, maybe, but 
expect people to cut themselves with hyphenCamel and deceive themselves 
with hyphen-camel.  If you're in a no-win situation, don't solicit bids 
for no-fail solutions.

As Greg points out: do what you can to make it "feel" consistent for 
users.  For instance: camelCase for new types vs. hyphen-delimited for 
new actions.  One *can* distinguish between XSLT and WXS in that way: 
schema defines "things", xslt defines "actions".  So, hyphenate your 
actions, camelize your things.

Amy!
-- 
Amelia A. Lewis                    amyzing {at} talsever.com
The one thing you can't trade for your heart's desire is your heart.
		-- Miles Vorkosigan


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.