• Config file

Document Actions
Replies: 3   Views: 3777
Up one level
You need to be a registered member to post to this forum. Register now.
Prev topic | Next topic

 • Config file

Posted by havoyan at 2004-11-08 06:47
Is buildap config language decalrative or procedural? Explain difference.
Manager
Posts: 0

 • Re: Config file

Posted by vanderja at 2004-11-08 21:19
Buildap config is declarative because it deals with the "what" rather than the "how." You need to understand the relationships between entities, like in declarative programming, but not necessarily the implementation details (or the how), like in procedural programming. Procedural programming has control flow built-in where declarative removes the flow.
Anonymous
Posts: n/a

 • Re: Config file

Posted by luzgin at 2004-11-09 05:46
The nature of Buildup config file is declarative like any other XML configuration file. Programs on another hand are procedural.
Anonymous
Posts: n/a

 • Re: Config file

Posted by havoyan at 2004-11-09 06:54
first comment is correct. Being encoded in XML doesnt mean it is a declarative language. For example Java code also could be encoded into XML - but that doesnt mean it becomes a declarative one. THe key is that the language define 'what' (elements and connectors) and not 'how' (e.g. in which order we process events).
Manager
Posts: 0