Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #13774 > unrolled thread
| Started by | Jan Burse <janburse@fastmail.fm> |
|---|---|
| First post | 2012-04-22 01:27 +0200 |
| Last post | 2012-04-22 01:27 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: terminology Jan Burse <janburse@fastmail.fm> - 2012-04-22 01:27 +0200
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2012-04-22 01:27 +0200 |
| Subject | Re: terminology |
| Message-ID | <jmvfpd$v3l$1@news.albasani.net> |
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 top | Article view | comp.lang.java.programmer
csiph-web