[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 an existing

  • From: "Len Bullard" <cbullard@hiwaay.net>
  • To: "'Uche Ogbuji'" <uche@ogbuji.net>, <xml-dev@l...>
  • Date: Sun, 5 Feb 2012 10:21:20 -0600

RE:  Should one adopt the tag naming convention of an existing

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: 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
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/



 

--
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]


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.