Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: proper use of .java files (layout) Date: Tue, 18 Dec 2012 14:12:28 -0500 Organization: A noiseless patient Spider Lines: 37 Message-ID: References: <41e38b5a-2aa7-43a4-9bc8-87e0eb4a977c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 18 Dec 2012 19:12:33 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="ffb8f7085759b339c1002252b48331a4"; logging-data="13438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Fiowpe/12gmbBPcE5r5j7" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:BLOINfWtwwqHrfQ+vObEHdNHcMo= Xref: csiph.com comp.lang.java.programmer:20469 On 12/18/2012 12:39 PM, lipska the kat wrote: > On 18/12/12 17:21, Gene Wirchenko wrote: >> On Tue, 18 Dec 2012 16:27:28 +0000, lipska the kat >> wrote: >> >>> On 18/12/12 16:07, Eric Sosman wrote: >>>> On 12/18/2012 10:05 AM, lipska the kat wrote: >>>>> On 18/12/12 14:32, infinitum3d@hotmail.com wrote: > > [snip] > >>> Yes, start writing code >>> What do you suggest he does, Sit there twiddling his fingers. >> >> I suggest that designing comes before writing code. > > I agree ... but if you are suggesting that you do all the designing > before you start to write a line of code then I humbly suggest that that > approach is fundamentally and profoundly flawed. Gene does not appear to take any such position, and I most certainly do not. One need not (usually cannot) complete all of the design ahead of time, because the implementation process itself will produce surprises pleasant and unpleasant, and these can be "learning opportunities." Knuth suggests the learning can be so valuable that it can be a Good Thing to lose all the code partway through development! (TAOCP section 1.4.1) However, the fraction of design to be completed before embarking on construction need not be an integer. When you propose "all" as the only alternative to "none," you are being silly. When you claim that people who disagree with you subscribe to that false dichotomy, you are being an ass. -- Eric Sosman esosman@comcast-dot-net.invalid