From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6b38bb64c1430e74,start X-Google-Attributes: gid103376,public From: "Michael F. Yoder" Subject: Re: a little motivation, anyone? Date: 1999/08/03 Message-ID: <37A6E605.5BBEF2CA@decada.zko.dec.com>#1/1 X-Deja-AN: 508424612 Content-Transfer-Encoding: 7bit References: <19990728052008.10608.00002249@ng-fq1.aol.com> Organization: Compaq Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-08-03T00:00:00+00:00 List-Id: Medley8086 wrote: > > ... What I'm asking is, could i please have some > posts of what some of you other programmers made when you were starting out, in > what languages, and how long it took. I'm looking for stories to convince me > while trying to work with stubborn code that I'm not algorithmically > handicapped or just not cut out to be a coder at all. Thanks in advance for > anyone who decides to help. > > E. Leron Culbreath You seemed to indicate that you haven't used Pascal yet. I suggest you do this exercise (which I did when at CIT) after you've learned enough Pascal to feel reasonably comfortable with the language. (Modula-2 or Ada should also work, but don't use C.) It is an exercise from one of Knuth's books. Write a program which accepts as input a variably sized rectangle of bits representing a crossword puzzle diagram (0 = white space, 1 = dark space) and prints the diagram. (ASCII art is fine.) I suggest garden-variety top-down programming with stepwise refinement; don't bother trying to pay homage to any other buzzwords. I wrote the program on paper in an evening and the next day typed and debugged it. I don't really remember the exact length of time for the whole process. If you do this, please tell me if you notice anything unusual about the process after the point at which you have fixed the compiler errors. -- Michael F. Yoder Unscientific man is beset by a deplorable desire to have been right. The scientist is distinguished by a desire to *be* right. -- W.V. Quine