[rules-dev] accumulate to acc

Mark Proctor mproctor at codehaus.org
Fri Aug 19 18:42:59 EDT 2011


On 19/08/2011 12:42, Geoffrey De Smet wrote:
> "Good programmers appreciate what you put in,
> Great programmers appreciate what you leave out "
>    -- Josh Bloch
>
> I also believe that having 2 accumulates is just going to bring
> confusion and complexity.
Over time we'll deprecate the old accumulate. But we must evolve the 
language to improve it, it's not easier as there is no one to copy for 
this, it's virgin territory. That means we can't be afraid to try 
things, and change them if think we can improve it.

Mark
>
> Op 19-08-11 11:32, Ansgar Konermann schreef:
>> Am 18.08.2011 18:38, schrieb Mark Proctor:
>>> We are looking to tighten up accumulate, using a new keyword to
>>> differentiate. It will use ; for separation, to follow a similar form to
>>> a 'for' loop.
>>>
>>> acc( CE*;
>>> <func>*;
>>> <guard>? )
>>>
>> Hi Mark,
>>
>> from the above description, I don't grok the meaning of the "new acc".
>> Could you describe in a few words what "acc" is going to do?
>>
>>>  From a user perspective, I find it hard to differentiate between "acc"
>> and "accumulate". I bet this is going to be an eternal source of
>> confusion and "which acc is for which purpose?" questions.
>>
>> If "acc" is different from "accumulate", then I'd like to learn what
>> "acc" actually does, how it differs from "accumulate" and try to find a
>> keyword which precisely resembles what it does.
>>
>> Best regards
>>
>> Ansgar
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>




More information about the rules-dev mailing list