Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28985

Re: Single leading dash in member variable names?

Newsgroups comp.lang.python
Date 2012-09-12 09:53 -0700
References <2cb240e2-7992-44eb-84cf-1aba5a411ee4@googlegroups.com> <mailman.514.1347390405.27098.python-list@python.org> <mailman.516.1347396810.27098.python-list@python.org> <sY-dnYkrKKdqKdLNnZ2dnUVZ5sWdnZ2d@giganews.com> <c0a54ccd-36bb-4414-970f-67d59d8dfd6f@googlegroups.com>
Message-ID <159d0e9d-6fb5-41ba-a1e9-def00f5493a7@googlegroups.com> (permalink)
Subject Re: Single leading dash in member variable names?
From mdengler@gmail.com

Show all headers | View raw


On Wednesday, September 12, 2012 4:23:49 PM UTC+1, (unknown) wrote:
> [...] David Goodger's "Code Like A Pythonista" in the "Naming" section [says single leading underscore is bad form]. (http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html#naming)

Looks like it says the opposite:

"[rather than trying to hide attributes with double-leading-underscores, i]t's better to use the single-leading-underscore convention, _internal".

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 11:45 -0700
  Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-11 13:06 -0600
    Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 13:53 -0700
      Re: Single leading dash in member variable names? Terry Reedy <tjreedy@udel.edu> - 2012-09-11 17:34 -0400
    Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-11 13:53 -0700
      Re: Single leading dash in member variable names? Erik Max Francis <max@alcyone.com> - 2012-09-11 15:02 -0700
        Re: Single leading dash in member variable names? Tim Chase <python.list@tim.thechases.com> - 2012-09-12 05:49 -0500
        Re: Single leading dash in member variable names? e.doxtator@gmail.com - 2012-09-12 08:23 -0700
          Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-12 10:52 -0600
          Re: Single leading dash in member variable names? mdengler@gmail.com - 2012-09-12 09:53 -0700
        Re: Single leading dash in member variable names? Ian Kelly <ian.g.kelly@gmail.com> - 2012-09-12 09:23 -0600
    Re: Single leading dash in member variable names? aahz@pythoncraft.com (Aahz) - 2012-11-10 07:41 -0800

csiph-web