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] Convention versus standard

It is common practice for programmers to name variables in numerous
non-helpful ways, it is best practice to have a well thought out
naming scheme that allows those who maintain code to know what a
variable is to be used for, hopefully achievable by following the
coding styles for their languages and organizations, and it is a
convention just to use some form of camel casing and a generally
unhelpful hint as to what data type the variable is when in the
process of naming the variable in a non-helpful way.

Note that this definition is somewhat unfair to convention, as it
shows the bad usage of convention. But I think it is better to focus
on the bad usage of convention then to imply that convention is best.

Cheers,
Bryan Rasmussen
On Mon, Jul 21, 2008 at 10:12 AM, Fraser Goffin <goffinf@googlemail.com> wrote:
> I agree. Perhaps it would be better to use the terms 'COMMON practice'
> and 'BEST practice' rather than 'convention' (the association seems
> more intuitive as does the distinction) ?
>
> Fraser.
>
> 2008/7/21 Liam Quin <liam@w3.org>:
>> On Sat, Jul 19, 2008 at 01:04:09PM -0400, Costello, Roger L. wrote:
>>> Is a convention the same thing as a best practice?
>> No, not in general.  Things that are "usually done" or that are
>> done by most people are not necessarily the best way to do
>> things or even good things to do.
>>
>> Liam
>>
>> --
>> Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
>> http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/
>>
>> _______________________________________________________________________
>>
>> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>> to support XML implementation and development. To minimize
>> spam in the archives, you must subscribe before posting.
>>
>> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
>> subscribe: xml-dev-subscribe@lists.xml.org
>> List archive: http://lists.xml.org/archives/xml-dev/
>> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>>
>>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>


[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