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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a9b0810d3106d9b8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d27g2000vbz.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Elias_Salom=E3o_Helou_Neto?= Newsgroups: comp.lang.ada Subject: Re: Fun with C Date: Mon, 18 Apr 2011 18:36:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: <86748003-860f-4729-ae26-55be1e58ac2b@d27g2000vbz.googlegroups.com> References: <27cf3992-4132-4483-9110-adc7a089cd4a@e8g2000vbz.googlegroups.com> <3ccf18a2-ba10-42bc-aeab-9368749961fb@a11g2000pro.googlegroups.com> <4c2b6a58-e3b6-47da-95e0-64853be5c1f9@v11g2000prb.googlegroups.com> NNTP-Posting-Host: 186.223.216.44 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1303176977 19781 127.0.0.1 (19 Apr 2011 01:36:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 19 Apr 2011 01:36:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d27g2000vbz.googlegroups.com; posting-host=186.223.216.44; posting-account=8auP9QoAAACkSx2qxJhP83KA6-tg78E8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.8 SUSE/7.0.528.0 (KHTML, like Gecko) Chrome/7.0.528.0 Safari/534.8,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:19853 Date: 2011-04-18T18:36:17-07:00 List-Id: On Apr 18, 8:10=A0pm, "Randy Brukardt" wrote: > "Elias Salom=E3o Helou Neto" wrote in messagenews:d16= 9b543-eed4-4a0a-a295-e391c198463e@j9g2000prj.googlegroups.com... > On Apr 17, 8:43 pm, "Nasser M. Abbasi" wrote: > ... > > >> I must have been doing something really wrong all those years, > >> becuase the only way I learned a new language was by > >> programming in it. > > >Without even reading a book about it? You are doing things terribly > >wrong. Of course programming is the best way to learn, but not without > >a good book to read while practicing. > > There aren't always books to read. C books? Come on! > We wrote a partial Ada *compiler* back in > 1980 from a description circulated by our professor (Janus/Ada originally > started in a compiler construction course). Surely the first Ada compiler you wrote wasn't coded in Ada itself. Haven't you read any book about the language used to code the compiler before? Weren't the professor's description a kind of "book"? So keep saying people that they do not need to study the language they intend to write code on. This is really smart, isn't it? > The only book that we had (and > we didn't get that until near the end of the class when we had already > decided to commercialize it) was the 1980 Ada Reference Manual. So you're again trying to claim you have written a compiler without knowledge of the language to be compiled? It must be some kind of magic, for sure. Again, what about the description by your teacher? > I'm pretty > sure that we had already converted the entire compiler into Ada code (so = it > could compile itself) before we saw any of the early Ada textbooks. (The > Pyle textbook that we distributed with the compiler didn't come out until > late 1981, I think.) After writing an Ada compiler it is very unlikely for someone not to know the language. There are lots of C textbooks, why not to use them? Nonsense. Also, please notice that I've recommended a book for those that are learning the language, not for those who have already mastered it (but even so a good reference manual is invaluable). > > That was OK, Ada wasn't that different than Pascal which we both already > knew well. This is dangerous. People seem to believe C is like Pascal or BASIC. Is this knowing C? This is the kind of misconception we have to fight. No programmer should claim to know C (or any other language) if he/she doesn't really knows it.