Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!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: Tue, 25 Nov 2014 14:36:56 -0500 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <87zjbg97c5.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 25 Nov 2014 19:36:48 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="32580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T+s4cG/y3LwC8Dg/4eGQ5" 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:2V4i2xUAMvsIyeYJ5qRSyHxzLw8= Xref: csiph.com comp.lang.java.programmer:30408 On 11/25/2014 1:58 PM, Brixomatic wrote: > In article <87zjbg97c5.fsf@Equus.decebal.nl>, Cecil Westerhof > (Cecil@decebal.nl) says... >> [...] >> // private classes >> private class Colour { > > Lesson five: Naming a private class the same as an API class works, but > is not well readable. [...] Have u overlooked something? -- esosman@comcast-dot-net.invalid "Don't be afraid of work. Make work afraid of you." -- TLM