Quick poll: gmean or geometric_mean

Jason Friedman jsf80238 at gmail.com
Sat Jul 9 10:16:13 EDT 2016


>
> +1 for consistency, but I'm just fine with the short names. It's in the
> statistics module after all, so the context is very narrow and clear and
> people who don't know which to use or what the one does that they find in a
> given piece of code will have to read the docs and maybe fresh up their
> rusty math memory anyway. Longer names don't help much with that.
>
> If further clarity is needed in a given code context that uses a direct
> name import, renaming the function at the same time is easy enough. I often
> do that with "os.path.join", for example, which turns into "join_path" on
> import. Same problem, easy solution.


+1



More information about the Python-list mailing list