Ian Kelly <ian.g.ke...@gmail.com> writes:

> On Sat, Jul 9, 2016 at 3:45 PM, Chris Angelico <ros...@gmail.com> wrote:
>> On Sat, Jul 9, 2016 at 3:26 PM, Steven D'Aprano <st...@pearwood.info> wrote:
>>> I'd like to get a quick show of hands regarding the names. Which do you
>>> prefer?
>>>
>>> hmean and gmean
>>>
>>> harmonic_mean and geometric_mean
>>
>> I'd prefer the shorter names.
>
> I'd prefer the longer. Anybody who wants gmean can easily type:
>
>     from statistics import geometric_mean as gmean

That argument goes both ways with equal force. Possibly very slightly in
favour of the *shorter* names, for those who are happy to import the
function with its eventual name as is.

I did say "very slightly".
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to