Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Model-to-Model Transformation » When is a transformation declarative or imperative?
When is a transformation declarative or imperative? [message #1725979] Tue, 08 March 2016 19:43 Go to next message
Nicolas   is currently offline Nicolas Friend
Messages: 38
Registered: October 2014
Member
I'm doing a research about Model-to-model transformations and I was wondering about which strategy is the most popular one for these kind of transformations. What do you think is the favorite approach? I'm also thinking about when a transformation is declarative? Only one lazy rule (for ETL) is enough to say it's declarative? Or maybe if 50% of the rules are? What do you guys think?

Smile
Re: When is a transformation declarative or imperative? [message #1726090 is a reply to message #1725979] Wed, 09 March 2016 14:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

It's can be just matter of taste and style. There is a large grey area
that varies as compiler technology evolves.

Arguably, if any (even 0.1%) execution step isn't obvious, it's a
declarative program. But once you understand how it could be obvious, it
may be imperative after all. Just the same as a magic trick; once you
know the secret, it's no longer magic.

In practice most programmers are familiar with imperative/procedural
approaches and most of the good tooling is for imperative/procedural so
imperative/procedural is easiest/best. Unfortunately those of us
advocating declarative struggle to muster as many development resources
as the imperative tools. (I hope that Eclipse QVTd will finally produce
optimized QVTc and QVTr tooling for Neon.)

Regards

Ed Willink



On 08/03/2016 19:43, Nicolas wrote:
> I'm doing a research about Model-to-model transformations and I was
> wondering about which strategy is the most popular one for these kind
> of transformations. What do you think is the favorite approach? I'm
> also thinking about when a transformation is declarative? Only one
> lazy rule (for ETL) is enough to say it's declarative? Or maybe if 50%
> of the rules are? What do you guys think?
>
> :)
Re: When is a transformation declarative or imperative? [message #1726108 is a reply to message #1726090] Wed, 09 March 2016 16:18 Go to previous message
Nicolas   is currently offline Nicolas Friend
Messages: 38
Registered: October 2014
Member
Thanks a lot Ed, I do know this is a grey area and there are infinite opinions about which one is most popular and how can we cay that a transformation is imperative or declarative. Do you think there are any specific kind of metrics or behaviors that can help us catalog in which category a transformations belongs?
Previous Topic:local variables: self=IN!<unnamed>
Next Topic:Cross-referencing UML profiles in ATL
Goto Forum:
  


Current Time: Fri Apr 19 00:59:34 GMT 2024

Powered by FUDForum. Page generated in 0.01741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top