[rules-dev] Functional programming in Drools: Brackets and Commas

Toni Rikkola toni.rikkola at gmail.com
Thu Oct 20 07:43:30 EDT 2011


Yes parentheses. 

And I don't know the answer to the next question, just asking because I have seen it work in other languages :-) Not a must have, in other cases using parentheses is cleaner.

Toni

On Oct 20, 2011, at 2:25 PM, Wolfgang Laun wrote:

> 
> 
> On 20 October 2011 13:15, Toni Rikkola <toni.rikkola at gmail.com> wrote:
> I'm just asking if we can drop the brackets and maybe even the commas to get a cleaner look.
> 
> 
> Do you mean parentheses, i.e. ()?
> 
> How will a parser be able to determine the end of a parameterlist if there is one call inside the other?
> 
> -W 
> _______________________________________________
> 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/20111020/a7a63a9f/attachment.html 


More information about the rules-dev mailing list