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


Groups > comp.lang.python > #44967

Re: Style question -- plural of class name?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.050
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'subject: -- ': 0.07; 'spelling': 0.09; 'subject:question': 0.10; 'roy': 0.16; 'subject:class': 0.16; 'elements': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'seems': 0.21; 'certainly': 0.24; 'class.': 0.26; 'header :In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'class': 0.32; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'list': 0.37; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'john': 0.61; 'first': 0.61; 'name': 0.63; 'smith': 0.68; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=CtpswOlwuQUEonA/O26WclI5O1C7wya8H+UT/smBs90=; b=m+D5yD+ydrq17LNzYoXBoeVxbadxFpBbgAV2cO1JGYW37t9N/YNgOpd0LRp5rzt/3e 1PL18lj27YyRMks885zLO03SPvE8rMhZ3YC/B0xXcoPypcHaSIHRELpa4jMUq0jm6k46 K/XTbJQ1rjCFKnsaxFqxurZc+jZtxboaUpxdRrsE3BrxaJBvMFTfsOp2cdv5T+Rkrotd ZMopt2XqMeE1mLCQr0ayfWlAJPmSQ4cb3yQ+ewxM10wFU53VH6E4qiJjuqOQZvhKfgXG QKpK+ti34hR6cNMdpg7MI5BvkEeOgs2cyDJ0N9dtzWUwSsZ2aEvti2d0fulfYPvON9eE 8O+Q==
X-Received by 10.68.52.39 with SMTP id q7mr9466794pbo.92.1368045954445; Wed, 08 May 2013 13:45:54 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <CAFbFFS8_6zCS3CowezbX409S_tPohwpgfKdPTW=--uK5Ehkj2Q@mail.gmail.com>
References <kmec30$d12$1@panix2.panix.com> <CAFbFFS8_6zCS3CowezbX409S_tPohwpgfKdPTW=--uK5Ehkj2Q@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 8 May 2013 14:45:14 -0600
Subject Re: Style question -- plural of class name?
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1461.1368045959.3114.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368045959 news.xs4all.nl 15945 [2001:888:2000:d::a6]:41278
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44967

Show key headers only | View raw


On Wed, May 8, 2013 at 2:37 PM, John Downs <john.a.downs@gmail.com> wrote:
> On Wed, May 8, 2013 at 4:20 PM, Roy Smith <roy@panix.com> wrote:
>>
>> FooEntry is a class.  How would you describe a list of these in a
>> docstring?
>>
>> "A list of FooEntries"
>>
>> "A list of FooEntrys"
>>
>> "A list of FooEntry's"
>>
>> "A list of FooEntry instances"
>>
>> The first one certainly sounds the best, but it seems wierd to change
>> the spelling of the class name to make it plural.
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
>
> How about: "A list with elements of type FooEntry"?  I also like the last
> one: "A list of FooEntry instances".

list<FooEntry>

*ducks*

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


Thread

Style question -- plural of class name? roy@panix.com (Roy Smith) - 2013-05-08 16:20 -0400
  Re: Style question -- plural of class name? Skip Montanaro <skip@pobox.com> - 2013-05-08 15:33 -0500
    Re: Style question -- plural of class name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 00:13 +0000
  Re: Style question -- plural of class name? John Downs <john.a.downs@gmail.com> - 2013-05-08 16:37 -0400
  Re: Style question -- plural of class name? Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-08 14:45 -0600
  Re: Style question -- plural of class name? Denis McMahon <denismfmcmahon@gmail.com> - 2013-05-08 22:40 +0000
    Re: Style question -- plural of class name? Neil Cerutti <neilc@norwich.edu> - 2013-05-09 15:14 +0000
      Re: Style question -- plural of class name? Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-05-09 19:43 +0300
        Re: Style question -- plural of class name? Neil Cerutti <neilc@norwich.edu> - 2013-05-09 17:28 +0000
  Re: Style question -- plural of class name? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-08 19:45 -0400
  Re: Style question -- plural of class name? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 00:02 +0000
    Re: Style question -- plural of class name? Cameron Simpson <cs@zip.com.au> - 2013-05-09 10:42 +1000
  Re: Style question -- plural of class name? Chris Angelico <rosuav@gmail.com> - 2013-05-09 10:12 +1000
  Re: Style question -- plural of class name? "Colin J. Williams" <cjw@ncf.ca> - 2013-05-08 20:38 -0400
    Re: Style question -- plural of class name? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-05-09 12:21 +0200
  Re: Style question -- plural of class name? Robert Kern <robert.kern@gmail.com> - 2013-05-09 18:44 +0100

csiph-web