I'm a native English speaker and count_by is clearer to me than tally, which I would think of as a way of counting using tally marks without any relation to grouping items before counting.
I also like that the name count_by matches group_by, which has similar behaviour. Cheers, Louis On Sat, 5 Oct 2019, 16:18 Greg Vaughn, <gvau...@gmail.com> wrote: > "Tally" is not used often, but it does precisely and concisely describe > the function. For more reference, those 4 vertical lines with a slash > across them to represent 5 are known as "tally marks" (see > https://en.wikipedia.org/wiki/Tally_marks). Also, if this were in our > standard library, I would always think of Harry Belafonte's _Day-O_ song > and smile when I use it ("come mister tally man, tally me banana") ( > https://www.youtube.com/watch?v=6Tou8-Cz8is) > > -Greg Vaughn > > > On Oct 4, 2019, at 7:55 PM, José Valim <jose.va...@plataformatec.com.br> > wrote: > > > > So I am not a native speaker, but “tally” sounds very foreign to me. Is > it used frequently? I am afraid an uncommon name won’t help with > readability/discovery. Is there a reason why it is not called count_by? It > seems it was first proposed as such to Ruby. Thank you for the proposal! > > -- > > > > > > José Valim > > www.plataformatec.com.br > > Skype: jv.ptec > > Founder and Director of R&D > > > > -- > > You received this message because you are subscribed to the Google > Groups "elixir-lang-core" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to elixir-lang-core+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KqUJKyuD0CSe5gTHL761SR6CncKDD1ryTsHTuRWXFN8g%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elixir-lang-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/A87FBBAC-8F1E-450D-B844-A02F2F7A71B6%40gmail.com > . > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CABu8xFCxsWMVW5AGMu0KuoQw1MtugkMvuUhi452p37V9Jpp2jQ%40mail.gmail.com.