Closed
Description
I spent several hours debugging my code written using the group_by
function.
I expected from this function the logic of grouping the same objects by a key, how surprised I was that he groups only some nearby elements while the group key has the same value.
In the documentation it is also indicated somehow strange and until the last, I was not sure if this is a bug or feature. I carefully read the documentation 5 times and it turned out to be a feature! Awful incomprehensible feature!
I do not think that this is the behavior that many expect for this method name. I demand to rename this method to something more suitable like cons_group_by
or lazy_group_by
not to mislead users.
Metadata
Metadata
Assignees
Labels
No labels