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


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

Re: Could this be done better

From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Could this be done better
Date 2014-11-29 15:44 -0500
Organization A noiseless patient Spider
Message-ID <m5db6g$ut7$1@dont-email.me> (permalink)
References (1 earlier) <MPG.2edeef971793d396989698@news.aioe.org> <m52log$vq4$1@dont-email.me> <MPG.2edf4429f6d89e3698969a@news.aioe.org> <m54lnv$e8r$1@dont-email.me> <MPG.2ee4321c5608784998969c@news.aioe.org>

Show all headers | View raw


On 11/29/2014 1:43 PM, Brixomatic wrote:
> In article <m54lnv$e8r$1@dont-email.me>, Eric Sosman (esosman@comcast-
> dot-net.invalid) says...
>
>>> Are you really trying to nitpick on American vs. English spelling?
>>
>>       I'm merely saying that "Colour" is not "the same as an API class."
>> Nor do I think "Colour" and "Color" would be easily confused: Whether
>> one is Left- or Right-Pondian, one will read smoothly while the other
>> will jar, and neither is likely to be mistaken for the other.
>
> Assuming your code is only read by native speakers is, erm, brave.

     Well, then we get to the question of "How different should names
be in order that non-native readers won't confuse them?"  And perhaps
we might consult the Java API itself for some guidance.  Therein, I
find two classes named AclEntry, two named Action, two named
AlreadyBoundException, two named Annotation, two named AnySeqHelper,
two named Array, two named ArrayType, two named AttributeSet, two named
AuthenticationException, *three* named Attributes, *three* named
AttributeList, *four* named Attributes ...

     ... and that's only the A's. It's clear that Oracle expects a
Java programmer to be sensitive to differences a good deal subtler
than Color vs. Colour -- for good or for ill.  But that's what name
spaces are for, isn't it?

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

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


Thread

Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-24 12:16 +0100
  Re: Could this be done better "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-11-24 22:49 +1100
    Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-24 17:54 +0100
      Re: Could this be done better Knute Johnson <eternal@knutejohnson.com> - 2014-11-24 09:37 -0800
        Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-24 19:27 +0100
  Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-24 09:23 -0500
    Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-24 17:45 +0100
      Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-24 13:42 -0500
        Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-25 00:12 +0100
    Re: Could this be done better Knute Johnson <eternal@knutejohnson.com> - 2014-11-24 09:19 -0800
      Re: Could this be done better Knute Johnson <eternal@knutejohnson.com> - 2014-11-24 09:41 -0800
        Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-25 00:55 +0100
      Re: Could this be done better Cecil Westerhof <Cecil@decebal.nl> - 2014-11-25 00:11 +0100
        Re: Could this be done better Knute Johnson <eternal@knutejohnson.com> - 2014-11-24 16:26 -0800
  Re: Could this be done better Brixomatic <brixomatic@yahoo.com> - 2014-11-25 19:58 +0100
    Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-25 14:36 -0500
      Re: Could this be done better Brixomatic <brixomatic@yahoo.com> - 2014-11-26 01:58 +0100
        Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-26 08:48 -0500
          Re: Could this be done better Brixomatic <brixomatic@yahoo.com> - 2014-11-29 19:43 +0100
            Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-29 15:44 -0500
              Re: Could this be done better Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-11-29 15:47 -0500

csiph-web