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


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

Re: Operators

Path csiph.com!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Operators
Date Tue, 13 Sep 2016 22:15:09 -0400
Organization Aioe.org NNTP Server
Lines 45
Message-ID <nrabrb$5a9$1@gioia.aioe.org> (permalink)
References <operators-20160908014132@ram.dialup.fu-berlin.de> <nqsrvj$15u5$1@gioia.aioe.org> <e57ce88e-78d3-4a8f-b278-6b95b3f20f1b@googlegroups.com>
NNTP-Posting-Host 7SK6yTFfqwlIPNBLl3l7Qg.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.java.programmer:35598

Show key headers only | View raw


On 9/13/2016 8:47 PM, Lew wrote:
> On Thursday, September 8, 2016 at 4:24:51 PM UTC-7, Arne Vajhøj wrote:
>> On 9/7/2016 8:45 PM, Stefan Ram wrote:
>>>       »3.12 Operators
>>>
>>>       38 tokens, formed from ASCII characters, are the
>>>       operators.
>>>
>>>       Operator: one of
>>>
>>>       =  >  <  !  ~  ?  :  ->
>>>
>>>       == >= <= != && || ++ --
>>>
>>>       +  -  *  /  &  |  ^  %  <<  >>  >>>
>>>
>>>       += -= *= /= &= |= ^= %= <<= >>= >>>=«
>>>
>>>     JLS8
>>>
>>>   This is the complete sections 3.12.
>>>
>>>   Does this mean that »a?b:c« contains /two/
>>>   operators, but »(int)3.2«, »(3)« and »f(x)«
>>>   do not contain an operator?
>>
>> I think that common terminology among Java developers
>> would be that:
>>
>> ?: is a single operator
>> cast is not an operator
>> parenthesis are not operators
>> method call is not an operator
>
> Whatever is common or rare among programmers is irrelevant. What is relevant is
> https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.12

Java developers frequently have to communicate with people that know
development but not Java, so I disagree. Understanding common
terminology is essential for effective communication with the
development process.

Arne

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


Thread

Re: Operators Arne Vajhøj <arne@vajhoej.dk> - 2016-09-08 19:24 -0400
  Re: Operators Roedy Green <inquiry@mindprod.com> - 2016-09-12 22:13 -0700
  Re: Operators Lew <lewbloch@gmail.com> - 2016-09-13 17:47 -0700
    Re: Operators Arne Vajhøj <arne@vajhoej.dk> - 2016-09-13 22:15 -0400
    Re: Operators Arne Vajhøj <arne@vajhoej.dk> - 2016-09-13 22:18 -0400
    Re: Operators Roedy Green <inquiry@mindprod.com> - 2016-09-13 19:51 -0700
      Re: Operators Arne Vajhøj <arne@vajhoej.dk> - 2016-09-14 20:23 -0400

csiph-web