[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: a useful naming convention
> > > > this is maybe hard to maintain over time...and realistically this > information should be conveyed through relation to a schema (IMHO) One thing that I'm thinking of in the context of a useful naming convention is this article by Joel Spolsky http://www.joelonsoftware.com/articles/Wrong.html which I think the statement "In Simonyi?s version of Hungarian notation, every variable was prefixed with a lower case tag that indicated the kind of thing that the variable contained. " indicates a benefit in convention under discussion. Relatively simple it also allows someone writing code to know that if they are trying to get the children of address that they are writing some bad code. And getting the text of Address probably won't return what one wants. Cheers, Bryan Rasmussen
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|