[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XQuery types was Re: Yet another plea for XU
Jonathan, > -----Original Message----- > From: Jonathan Robie > > I always thought that catching errors at compile time optimized both > programmer efficiency and machine efficiency. > > 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. I don't for a moment dispute the usefulness of types, just /static/ typing. Static typing as aid to programmer effectiveness is something of a myth, tho' it's very handy if you're a compiler or a runtime. Systems do get build with dynamically typed languages and seem to work fine; notably these languages are notoriously productive. If I'm wrong about this, that static typing vastly improves the lot of programmers, I'm happy to be corrected. Bill de hÓra
|
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
|