paulk-asert commented on PR #2247:
URL: https://github.com/apache/groovy/pull/2247#issuecomment-2953207162

   > I agree with Christopher Smith from the mailing list that the semantic of 
count is different from size. 
https://lists.apache.org/thread/8yknyvcxbksoojh6rz5shwv6jdjy1dnx
   
   For those folks who are expecting every aggregate to have a `size()` method, 
do you have an alternative implementation for `size()` in mind that would 
better match their expectation? Or are you indicating that we'd better explain 
the unusual behavior (like we do for `Iterator#size`)? Folks who want to make 
the different semantics clearer would be free to use `count()` and wouldn't 
have to use `size()`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@groovy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to