Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Gene Wirchenko Newsgroups: comp.lang.java.programmer Subject: Re: proper use of .java files (layout) Date: Tue, 25 Dec 2012 15:06:42 -0800 Organization: A noiseless patient Spider Lines: 36 Message-ID: <33ckd8p6uk92l4lrehttga71ro2iafemev@4ax.com> References: <20fa5c05-6fcc-47ed-9e80-a44975887928@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="95789bcd602b4527561dc0cb1c85cae5"; logging-data="16263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/P5oQ9UtdNyy+R5fOryLRXlyTgmhOMFhc=" X-Newsreader: Forte Agent 4.2/32.1118 Cancel-Lock: sha1:9jn+9DeBxX59S9XcXrlSeIm5Fxc= Xref: csiph.com comp.lang.java.programmer:20703 On 25 Dec 2012 21:32:37 GMT, ram@zedat.fu-berlin.de (Stefan Ram) wrote: [snip] > So, here's how to do it: > > If you already did similar projects like this before or have > obtained a good education about projects like this, then > design first and implement later. > > But if you never did similar projects before, then either > let someone else do the design (who DID similar projects > before) or start to try to code and experience (more in a > bottom-up manner and with enough time for many refactorings > or rewrites) or start to read some books about the desing of Yes. When I have played with languages, I often take the example of a times table. I first implement it minimally. Then, I get into formatting, allowing ranges to be selected, allowing input of ranges, having different operations, and so on. > such projects (also do the exercises from the books). Be sure to modify the exercises from the books, too. You can think of a slightly different thing that you would like to try, can't you? Some books have sample programs and if you do not try modifying them to your own ends, you can think you know something when you don't really. Non-trivial modifying requires digging in and helps you learn. Sincerely, Gene Wirchenko