[rules-dev] 'if' in guided editor

Michael Neale michael.neale at gmail.com
Mon Feb 26 06:55:33 EST 2007


no, it was just to be different. It can be anything. It can be

"wassup" or something ;)

Not sure if that explanation has any real meaning, I mean it makes a point,
but "when" actually implies to me that it is slightly temporal (ie "when"
means it will happen, at some point in time, where as "if" means it may or
may not happen - neither of which are procedural/imperative).

I think its ok to say IF, as people still say "if/then" for production
rules, its not really confusing - perhaps we need another way to explain
imperative versus declarative.

On 2/26/07, Mark Proctor <mproctor at codehaus.org> wrote:
>
>  I noticed that 'if' is used in the guided editor instead of 'when', whats
> the reason for this? As currently I explain the use of 'when' because it
> indicates its not procedular, where as 'if' is considered part of a
> procedural logic flow. Will this confuse that explanation?
>
> [image: 'if' screen shot]
>
> Mark
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20070226/c647ef1d/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot-10.jpg
Type: image/jpeg
Size: 22598 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-dev/attachments/20070226/c647ef1d/attachment.jpg 


More information about the rules-dev mailing list