Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: Could this be done better Date: Sat, 29 Nov 2014 15:47:35 -0500 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: <87zjbg97c5.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 29 Nov 2014 20:47:30 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="31655"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187x5nqCLw1YpWlLPpgRfDQ" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: Cancel-Lock: sha1:tpwYCFNu8CZmMfKUy2jxBm0mGng= Xref: csiph.com comp.lang.java.programmer:30451 On 11/29/2014 3:44 PM, Eric Sosman wrote: > On 11/29/2014 1:43 PM, Brixomatic wrote: >> In article , 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 ... Sorry: The four are named Attribute; only three are named Attributes. -- esosman@comcast-dot-net.invalid "Don't be afraid of work. Make work afraid of you." -- TLM