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


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

Re: the true literal

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: the true literal
Date 2013-11-22 11:07 -0500
Organization A noiseless patient Spider
Message-ID <l6nvi4$1vt$1@dont-email.me> (permalink)
References <true-20131122032105@ram.dialup.fu-berlin.de> <l6mmac$g1o$1@dont-email.me> <l6nq6v$134$1@dont-email.me>

Show all headers | View raw


On 11/22/2013 09:37 AM, Eric Sosman wrote:
> On 11/21/2013 11:23 PM, Jeff Higgins wrote:
>> [...]
>> 3.9. Keywords
>>
>> 50 character sequences, formed from ASCII letters, are reserved for use
>> as keywords and cannot be used as identifiers (ยง3.8).
>>
>> Keyword: one of
>>      abstract   continue   for          new         switch
>>      assert     default    if           package     synchronized
>>      boolean    do         goto         private     this
>>      break      double     implements   protected   throw
>>      byte       else       import       public      throws
>>      case       enum       instanceof   return      transient
>>      catch      extends    int          short       try
>>      char       final      interface    static      void
>>      class      finally    long         strictfp    volatile
>>      const      float      native       super       while
>
>      Note the absence of `null' from this list. The situation
> seems very similar to that of `true' and `false': all three
> are "literals" rather than "keywords".  These literals happen
> to be spelled entirely with letters rather than with arcane
> symbol clusters like `314.159e-2', but they're still "literals".
>
>      To me, this seems a good example of a "difference that makes
> no difference" -- but a hair-splitting literal-ist (sorry) might
> find a difference just so he can feel smug about it.
>
I wish I had found <http://en.wikipedia.org/wiki/Reserved_word>
before I had first responded to the OP. I think it will be a
satisfactory answer to his question.

In general discussion, including usenet, a hair-splitting literal-ist
(ok?) stance can be taken, and motivated by smug. Specification writers,
compiler writers, general purpose program writers,and others might
have other motivations. I'm certain that Stefan Ram was not seeking an
answer to his question in preparation to take a smug stance in some
discussion. My motivation to respond to Stefan's question was not smug,
even if it appeared hair-splitting and literalist. Other respondents
have not come off as smug to me. The (online) Free Dictionary has
literalist as a noun and literalistic as an adjective.

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


Thread

Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-21 23:23 -0500
  Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-21 23:54 -0500
  Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 07:55 -0500
  Re: the true literal Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-11-22 09:37 -0500
    Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 11:07 -0500
      Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 11:53 -0500
        Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 12:11 -0500
          Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 12:24 -0500
            Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 12:37 -0500
      Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 13:08 -0500
      Re: the true literal Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-11-22 13:33 -0500
        Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 14:39 -0500
          Re: the true literal Jeff Higgins <jeff@invalid.invalid> - 2013-11-22 17:38 -0500
            [OT] Re: the true literal Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-11-22 17:59 -0500
            Re: the true literal Martin Gregorie <martin@address-in-sig.invalid> - 2013-11-23 16:27 +0000
              Re: the true literal Sebastian <news@seyweiler.dyndns.org> - 2013-11-23 21:24 +0100
                Re: the true literal Martin Gregorie <martin@address-in-sig.invalid> - 2013-11-23 21:23 +0000
                Re: the true literal Lew <lewbloch@gmail.com> - 2013-11-27 13:51 -0800

csiph-web