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


Groups > comp.lang.java.programmer > #13787 > unrolled thread

Re: terminology

Started by"John B. Matthews" <nospam@nospam.invalid>
First post2012-04-22 07:46 -0400
Last post2012-04-22 10:57 -0700
Articles 3 — 3 participants

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.


Contents

  Re: terminology "John B. Matthews" <nospam@nospam.invalid> - 2012-04-22 07:46 -0400
    Re: terminology Jan Burse <janburse@fastmail.fm> - 2012-04-22 16:06 +0200
    Re: terminology Lew <noone@lewscanon.com> - 2012-04-22 10:57 -0700

#13787 — Re: terminology

From"John B. Matthews" <nospam@nospam.invalid>
Date2012-04-22 07:46 -0400
SubjectRe: terminology
Message-ID<nospam-87A7EB.07460522042012@news.aioe.org>
In article <verb-20120422003824@ram.dialup.fu-berlin.de>,
 ram@zedat.fu-berlin.de (Stefan Ram) wrote:

> ram@zedat.fu-berlin.de (Stefan Ram) writes:
> >    context             sentence
> >.------------------.   .------------.
> >java.lang.Thread     . dumpStack()
> >java.lang.System.out . print    ( 2 )
> >                       '-------'
> >                         verb
> 
>   I just found some support here:
> 
>      »LINGUISTIC METAPHORS IN SOFTWARE DESIGN«
> 
>       (...)
> 
>      »Messages      resemble sentences
>       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«.)

The combination of a verb plus a noun phrase makes me think of a 
grammatical predicate

<http://en.wikipedia.org/wiki/Predicate_(grammar)>,

but predicate can also mean the result of evaluating a logical 
expression.

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

[toc] | [next] | [standalone]


#13788

FromJan Burse <janburse@fastmail.fm>
Date2012-04-22 16:06 +0200
Message-ID<jn139q$1qr$1@news.albasani.net>
In reply to#13787
John B. Matthews schrieb:
> The combination of a verb plus a noun phrase makes me think of a
> grammatical predicate
>
> <http://en.wikipedia.org/wiki/Predicate_(grammar)>,
>
> but predicate can also mean the result of evaluating a logical
> expression.

In the SVO pattern, the predicate (traditional,
Aristotele) is more or less the VO part.

+---------------- Sentence ----------------+
|                                          |
java.lang.System.out . print    ( 2        )
|                    |          |          |
+---- Subject -------+- Verb ---+- Object -+
                      |                     |
                      +----- Predicate -----+

What you learn in school is:
The predicate is one of the two main parts of
a sentence (the other being the subject, which
the predicate modifies). The predicate must
contain a verb (watch out Mordor), and the
verb requires, permits, or precludes other
sentence elements to complete the predicate.

Bye

[toc] | [prev] | [next] | [standalone]


#13803

FromLew <noone@lewscanon.com>
Date2012-04-22 10:57 -0700
Message-ID<jn1gpl$v04$1@news.albasani.net>
In reply to#13787
John B. Matthews wrote:
> Stefan Ram wrote:
>> Stefan Ram writes:
>>>     context             sentence
>>> .------------------.   .------------.
>>> java.lang.Thread     . dumpStack()
>>> java.lang.System.out . print    ( 2 )
>>>                        '-------'
>>>                          verb
>>
>>    I just found some support here:
>>
>>       »LINGUISTIC METAPHORS IN SOFTWARE DESIGN«
>>
>>        (...)
>>
>>       »Messages      resemble sentences
>>        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«.)
>
> The combination of a verb plus a noun phrase makes me think of a
> grammatical predicate
>
> <http://en.wikipedia.org/wiki/Predicate_(grammar)>,
>
> but predicate can also mean the result of evaluating a logical
> expression.

Stefan introduces a useful and productive exercise, mapping the specialized 
terms of art for Java to the wider world of terms from programming and the 
real world.

I favor using the terms of art when having a discussion within that context, 
that is, use the Java terms when talking of Java particularly. I favor what 
Stefan is doing, connecting to other terms of varying synonymity, to deepen 
understanding and to discuss matters intelligibly outside the world of Java.

It's important to understand that cognate terms vary from literally equivalent 
to fancifully metaphoric and most in between. A sentence is a statement in 
linguistics, so the Java term "statement" may fairly map to "sentence" as a 
metaphoric or general term. However, calling it a "sentence" whilst reviewing 
a program will jar, pun intended. Back on the plus side, if you know that a 
Java statement constitutes the sentence of its world, you could be the better 
programmer.

Be prepared for folks to differ from you on the generalized terminology, but 
stand your ground on the terms of art.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web