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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Various presentations, schema concepts, etc.

[ Lists Home | Date Index | Thread Index ]
  • From: Matt Sergeant <matt@sergeant.org>
  • To: Rick JELLIFFE <ricko@geotempo.com>
  • Date: Mon, 3 Jul 2000 12:34:05 +0100 (BST)

On Mon, 3 Jul 2000, Rick JELLIFFE wrote:

> Matt Sergeant wrote:
>  
> > I'm not convinced its really the next wave though - like
> > functional programming its just too hard to grok for non comp sci people
> > (and there are a lot of them in this field who are going to need to be
> > able to work with us).
>  
> I am not so sure that functional programming is so bad: SQL is basically
> a functional language is it not?  

I would have to disagree with that. SQL is a declarative language, like
XSLT: You specify what the results you want are, and don't worry about the
underlying implementation.

> I suspect that the problem with functional programming is that it
> changes the boundaries between what is hard and what is straightforward
> too much.  XSLT's approach of allowing extensions (cheating) on a small
> and targetted application domain seems to be pretty acceptable--it
> forces you to use a different tool to solve the problems which (the
> kinds of FP used in) XSLT is not great at.

Think of XSLT extension functions as akin to SQL's stored procedures.

> Dr John Reekie, who co-wrote the RISP SGML processor with me in the late
> 80s, later went on to study functional programming (graphical tools for
> DSP compilation) before ending up at UCB for TCL work. I remember his
> suggestion, after working with functional programming techiques (and
> liking them very much) was that  perhaps they require a too high level
> of abstraction for typical programmer (typically trained programmers?),
> compared to procedural code (we are used to assignment): he thought that
> mediating the functions through a GUI might make FP more attractive.
> But, of course, functional programming may find in the large and regular
> data structures of XML documents data which is well-suited to be treated
> as the input and output of functions. A new application area may cause a
> resurgence in uses of functional programming (in the same way that XML
> may cause a coarse-grained resurgence of data-flow architectures).

I guess we'll see about that. The people who like FP enough to use it
every day seem to be found only in academia. Real world programmers have
to use hacks and shortcuts to get their work done in the time given to
them.

One thing about declarative programming and functional programming is that
debugging is _hard_. Jumps are implicit, not explicit, and so tracing a
path through the code is non-trivial and extremely input
dependant. Although I look forward to the first XSLT gui debugger :-)

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

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

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