Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jason Friedman Newsgroups: comp.lang.python Subject: Re: Quick poll: gmean or geometric_mean Date: Sat, 9 Jul 2016 08:16:13 -0600 Lines: 14 Message-ID: References: <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <1468043386.1292856.661217857.45C882AD@webmail.messagingengine.com> <57809936.6020303@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de p505xGX/kF6y/I2zmtg/ngQr7mGi5XiUDAGVmcVikdFw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'anyway.': 0.04; 'context': 0.05; 'cc:addr:python-list': 0.09; 'enough.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'renaming': 0.16; 'memory': 0.17; 'solution.': 0.18; 'all,': 0.20; 'math': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'names.': 0.22; 'header:In-Reply- To:1': 0.24; 'module': 0.25; 'message-id:@mail.gmail.com': 0.27; 'turns': 0.27; 'function': 0.28; 'fine': 0.28; "i'm": 0.30; 'that.': 0.30; 'code': 0.30; 'maybe': 0.33; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'clear': 0.35; 'fresh': 0.35; 'but': 0.36; 'needed': 0.36; 'subject:: ': 0.37; 'names': 0.38; 'does': 0.39; 'easy': 0.60; 'further': 0.62; 'direct': 0.68; 'subject:Quick': 0.84; 'to:none': 0.91; 'subject:skip:g 10': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc; bh=zUSFh0I6gBxejN+c4D/fW8n5RyYvLF47SYoLpPCzXHM=; b=to8eQjwMt3ZpuarUCk8q4R3VPyM96/KEbCgiWv6Ich1nhSTTzWfoYV1eBtliyswig4 47MSAKiXGpFWXlncMHvJVhvuUE+XJS617Gc/nvs4hND2539xT5ZHJI6OpVzZS4GqWwiz k5giJXRypqMjjMvTgEfrSU0yk44mHGajpgKKGhoKAUe4p6K248WDqbOugimGavRueAZR zqAP/9xGomFkdehO7MNlekQqjg/t2w+DRazyYOE52C+9i5BP1l+oJ9aRJkFkDENF+uIT C1RHScJ68rWRgbMu9ZfpppgFPx8adYVANn4AXOm63K73lqm/CI0aGVJr09zpda5DINYz cNsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc; bh=zUSFh0I6gBxejN+c4D/fW8n5RyYvLF47SYoLpPCzXHM=; b=NINmHyPykc+N3sQ+pjcOtxEBhrLC5g8bGZL3KzitQU9+JqGSvfw3CID0kdvK3iGrt3 33MaECwQ/ahyhDSuY/TCM+yDdsPfB+VXS4zZK3SN5ZRQhPqVFxAaYY8nF9imUnS15WvP FRzXUKbfXgWiK1ajlLI9fHk008XtKPnse6JY/7jJ8Ai/9uatsbUczo+Q+kJJTE0j5w32 re7sm0mkr8wxaFbakpIi1EWhC7yE7zydfjo7nBlAnzfyUtm0c6T2S1RrHIXHvpUt588j vRnwkmYPiNeOBZD5Z8ybGIdiVDOkNiraWhosUw5ome/2QAFDkF2nHI3zAY8JOD3cEbNB ga1A== X-Gm-Message-State: ALyK8tIKQlcm+EHegzjvaSb2eif+PGeF/dUNLEQYQujlwgJa396X6cLKgwz82T9+/SUqcsbHDaAiupZQv01ibw== X-Received: by 10.176.69.183 with SMTP id u52mr5101096uau.123.1468073773611; Sat, 09 Jul 2016 07:16:13 -0700 (PDT) In-Reply-To: X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <57808af6$0$1602$c3e8da3$5496439d@news.astraweb.com> <1468043386.1292856.661217857.45C882AD@webmail.messagingengine.com> <57809936.6020303@stoneleaf.us> Xref: csiph.com comp.lang.python:111224 > > +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