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

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

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]


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