[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to declaratively describe a mapping that invol

Subject: Re: How to declaratively describe a mapping that involves breaking a string apart and reassembling the parts with an additional symbol?
From: "Michael Kay michaelkay90@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Mar 2024 20:53:36 -0000
Re:  How to declaratively describe a mapping that invol
>A declarative description seems to me like just a procedural description but
with less detail

Well, one distinction that people make is that a declarative description says
what the answer should be, a procedural description says how to go abount
computing it. So on that basis, yes, a declarative description cuts out the
detail of "how to compute the answer".

But that doesn't mean you are being more declarative if you are being more
vague about what exactly you want. "Give me a list of good places to eat round
here" is not more declarative than "give me a list of 3-star Italian
restaurants within 5 miles of here" - it's just vaguer. A procedural
description would differ by giving instructions about where to look for the
information.

Michael Kay

> On 12 Mar 2024, at 20:19, Dimitre Novatchev dnovatchev@xxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Do you agree that a declarative description is like a procedural
description but with less detail?
>
> Definitely not.
>
> If the "less detail" is sufficient for finding the solution to the problem,
then any other solution that needs "more detail" is obviously sub-optimal and
may be incorrect.
>
> It doesn't matter if one solution is "declarative" or the other is
"procedural" -- the above stands true for any two solutions, regardless of how
they have been labeled.
>
> Thanks,
> Dimitre
>
> On Tue, Mar 12, 2024 at 10:53b/AM Roger L Costello costello@xxxxxxxxx
<mailto:costello@xxxxxxxxx> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx
<mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:
>> Someone sent me this response:
>>
>> "A declarative description seems to me like just a procedural description
but with less detail: it's a continuum rather than a sharp dichotomy.  I see
no obvious limit to how "declarative" we could make things, particularly as AI
gets better and better at anticipating what we want.  Like, maybe you'll just
say to GPT-8, "write me a first-person shooter game where I get to battle a
7-headed hydra," and it will fill in all the details, asking you clarification
questions as needed."
>>
>> Do you agree that a declarative description is like a procedural
description but with less detail?
>>
>> /Roger
>>
>>
>
>
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/3500899> (by
email <>)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.