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] Why XML?

[ Lists Home | Date Index | Thread Index ]

David Megginson <david@megginson.com> wrote:
| Matthew.Bennett@facs.gov.au writes:

|> W3C has violated a first-order principle of language design; that
|> there should only be one way of doing something, such that everyone
|> ought to devise the 'same' program to solve the 'same' problem.

| It's clearly a principle rarely put into practice (I won't even start
| on the Common LISP looping constructions).

And even when the principle is put into practice, it can easily lead to
spectacularly bad application.  Speaking of Lisp, consider Scheme's
dismissal of iteration as unnecessary because recursion does the job, and
then the textbook chestnuts of how *not* to compute things like Fibonacci
numbers.  (Using accumulators to jigger recursion into tail call position
is a non-trivial "idiom".)

More generally, squeezing the last smidgins of non-orthogonality out of a
language are usually not worth either the design effort or the cognitive
load on users ("Okay, there's only one way to do this, but what the $#@%%
is it??")
    




 

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

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