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


Groups > comp.lang.java.programmer > #13774

Re: terminology

Path csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Jan Burse <janburse@fastmail.fm>
Newsgroups comp.lang.java.programmer
Subject Re: terminology
Date Sun, 22 Apr 2012 01:27:40 +0200
Organization albasani.net
Lines 32
Message-ID <jmvfpd$v3l$1@news.albasani.net> (permalink)
References <terminology-20120420003700@ram.dialup.fu-berlin.de> <verb-20120422003824@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.albasani.net UmLNDxjWorcp1f14cY3971QkmInn9XximQIzvgWKP4oe9iNKqHwTXmGPwifOaebpWCXDn+8Wvy7EkyPaSSqAj19zc+fRPr5ZMuigFYn1Hwde3FDMnJYnc30+TG2Vq1Eu
NNTP-Posting-Date Sat, 21 Apr 2012 23:27:41 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="LkvCeSWINpb74e2UIyt4iQrFk1+pYnvzudxNciv6057TvsctEQ06zrHp1IYVwoimx4NI/TsgR1x/6AVQVclDxk7WgbDt9aWvhTWWvlEJaba+Y0MCKg4a52bTHKRIzocC"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8
In-Reply-To <verb-20120422003824@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:zkP4jhrsfE05y5HRgwooNc7lVFg=
Xref csiph.com comp.lang.java.programmer:13774

Show key headers only | View raw


Stefan Ram schrieb:
>        Method names  resemble verb and noun phrases«
>
> http://www.educery.com/papers/rhetoric/road/
>
>    (But the second observation makes me think about
>    using »word« instead of »verb«.)

Ok after the little excursion posts from
before I now understand the "resemble" as:

   Method names  either resemble verb or noun phrases

Yes thats true. Noun phrases make good factory
method names. Judging from the paper the above
seems not be inclined with argument identifications.

So what is a general term for verbs and nouns?
The problem here is that a noun phrase can be
both a subject and an object. So noun phase is
already an imprecise criteria.

But I would say the SVO pattern can be sustained.
One does not simply walk into Mordor and drop
the verb. What is often seen for factory methods
is that nevertheless a verb is injected.

For example one finds even:

     public static final DateFormat getDateInstance()

Bye

Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread


Thread

Re: terminology Jan Burse <janburse@fastmail.fm> - 2012-04-22 01:27 +0200

csiph-web