XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Should one adopt the tag naming convention of an existing XML vocabulary or create one's own tag naming convention?

How often do you really click to cut and paste just an element name?”

 

Quite a lot.    Usually when searching.  It sets the term in the search box.

 

1 click to select a word is best practice in Notepad++ and with XML language selected, to highlight the element name and close for fast scanning of the tree in the text.

 

len

 

-----Original Message-----
From: Uche Ogbuji [mailto:uche@ogbuji.net]
Sent: Saturday, February 04, 2012 12:09 PM
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Should one adopt the tag naming convention of an existing XML vocabulary or create one's own tag naming convention?

 

Again I understand aesthetic differences, but I don't get this "clickable' one. How often do you really click to cut and paste just an element name? And if you do, qnames will already make one click impossible. I've written a ton of XSLT with a good number of editors, and it never even occurred to me to give this a thought. I've also never, ever heard that complaint made about XSLT on all the forums I've been.

 

The main problem I encounter with hyphens is in data binding to programming languages, but it boggles my mind to think that anyone would place the convenience of a programmer over the readability of the data. Hyphens and underscores are most easier for a non-programmer to read, and hyphens are easier for a non-programmer to type, so for me, it's an easy win, and I in all my time programming I've never, for example, mistaken a hyphen that's part of a name for a minus sign.

 

--Uche

On Sat, Feb 4, 2012 at 5:06 AM, Alex Muir <alex.g.muir@gmail.com> wrote:

1 thing that cannot be cut and paste starting with 1 double click in an editor is no fun for me..

Bad:
condition-checks

Good:
condition_checks

Best:
conditionChecks

from a clicking point of view

On Sat, Feb 4, 2012 at 1:27 AM, David Lee <dlee@calldei.com> wrote:

I dont particularly like hyphen-case because I can't tell it apart from "hyphen" <minus> "case"

even if the compiler can.




--

Alex Muir
Program Organizer - University Technology Student Work Experience Building
University of the Gambia
http://sites.utg.edu.gm/alex/

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 http://sites.utg.edu.gm/utsweb/


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



 

--
Uche Ogbuji                       http://uche.ogbuji.net
Weblog: http://copia.ogbuji.net
Poetry ed @TNB: http://www.thenervousbreakdown.com/author/uogbuji/
Founding Partner, Zepheira        http://zepheira.com
Linked-in: http://www.linkedin.com/in/ucheogbuji
Articles: http://uche.ogbuji.net/tech/publications/
Friendfeed: http://friendfeed.com/uche
Twitter: http://twitter.com/uogbuji
http://www.google.com/profiles/uche.ogbuji



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS