Russ Abbott wrote:
I got only one response to my page about procedural vs. declarative readings of Oz programs. I believe (but I'm not expert enough to know) that the proposed perspective is significantly different from the traditional one. I would appreciate any comments. To highlight the difference, here is a short piece from near the end of the page.

(snipped)

What do you think of this?  Right, wrong, boring?

IMO this is perfectly right. The fact is, the programmer has complete control. There is no limitation because of a particular programming model, you can choose the right paradigm for each subproblem.

For the Minesweeper application I wrote, I had to partition a set of indices. I could describe the partition in logic terms, though the way to build the partition came to me as a stateful process. The stateful version is actually simpler and much more efficient than any declarative means I could think of.

Cheers,
raph

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to