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
--
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
On Sat, Feb 4, 2012 at 5:06 AM, Alex Muir <[email protected]> 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 <[email protected]> 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