Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13774
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: terminology |
| Date | 2012-04-22 01:27 +0200 |
| Organization | albasani.net |
| Message-ID | <jmvfpd$v3l$1@news.albasani.net> (permalink) |
| References | <terminology-20120420003700@ram.dialup.fu-berlin.de> <verb-20120422003824@ram.dialup.fu-berlin.de> |
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
Re: terminology Jan Burse <janburse@fastmail.fm> - 2012-04-22 01:27 +0200
csiph-web