OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XQuery types was Re: [xml-dev] Yet another plea for XUpdat

[ Lists Home | Date Index | Thread Index ]

Jonathan Robie:

> It optimizes machine efficiency because the query doesn't have to look at 
> all that data to know that there's an error. It optimizes programmer time 
> because the programmer does not need to go out and write a million test 
> cases, deal with the calls from the field from someone whose data looks 
> different from the test data, etc.

This is a myth.  If it were true, then developers of programs using strongly typed languages would tend to be significantly more productive than those using loosely typed language.  I think you'd find such an idea very hard to defend.

Errors due to mismatch of information contract *rarely* fall along the neat lines drawn by static typing enthusiasts.  The Ariane vessel (to trot out a cliche example) exploded not because an int was confused with a float, but because the scale of the values was confused.  This is the sort of thing generic constraint checking handles very well.


-- 
Uche Ogbuji                                    Fourthought, Inc.
http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
Track chair, XML/Web Services One (San Jose, Boston): http://www.xmlconference.com/
DAML Reference - http://www.xml.com/pub/a/2002/05/01/damlref.html
RDF Query using Versa - http://www-106.ibm.com/developerworks/xml/library/x-think10/index.html
XML, The Model Driven Architecture, and RDF @ XML Europe - http://www.xmleurope.com/2002/kttrack.asp#themodel





 

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

Copyright 2001 XML.org. This site is hosted by OASIS