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


Groups > comp.lang.python > #44985

Re: Style question -- plural of class name?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!cs.uu.nl!news0.firedrake.org!news.xcski.com!ncf.ca!not-for-mail
From "Colin J. Williams" <cjw@ncf.ca>
Newsgroups comp.lang.python
Subject Re: Style question -- plural of class name?
Date Wed, 08 May 2013 20:38:36 -0400
Organization National Capital Freenet, Ottawa, Ontario, Canada
Lines 17
Sender fn681@206-47-101-26.dsl.ncf.ca
Message-ID <518AF00C.8030207@ncf.ca> (permalink)
References <kmec30$d12$1@panix2.panix.com>
NNTP-Posting-Host 206-47-101-26.dsl.ncf.ca
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace theodyn.ncf.ca 1368059918 17189 206.47.101.26 (9 May 2013 00:38:38 GMT)
X-Complaints-To complaints@ncf.ca
NNTP-Posting-Date 9 May 2013 00:38:38 GMT
To Roy Smith <roy@panix.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
In-Reply-To <kmec30$d12$1@panix2.panix.com>
Xref csiph.com comp.lang.python:44985

Show key headers only | View raw


On 08/05/2013 4:20 PM, Roy Smith wrote:
> FooEntry is a class.  How would you describe a list of these in a
> docstring?
>
> "A list of FooEntries"  0
>
> "A list of FooEntrys"   -1
>
> "A list of FooEntry's"  +1
>
> "A list of FooEntry instances"  No FooEntry is specified as a class.
>
> The first one certainly sounds the best, but it seems wierd to change
> the spelling of the class name to make it plural.
>

Colin W.

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