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!17g2000prr.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: Thu, 21 Apr 2011 07:18:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <27cf3992-4132-4483-9110-adc7a089cd4a@e8g2000vbz.googlegroups.com> <3ccf18a2-ba10-42bc-aeab-9368749961fb@a11g2000pro.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 1303395493 25241 127.0.0.1 (21 Apr 2011 14:18:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 21 Apr 2011 14:18:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 17g2000prr.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:19921 Date: 2011-04-21T07:18:12-07:00 List-Id: On Apr 20, 2:11=A0am, "J-P. Rosen" wrote: > Le 17/04/2011 21:19, Elias Salom o Helou Neto a crit : > > > All reasonable men will try to learn the language before programming. > > The mentioned behavior is the one C is supposed to have, whether you > > like it or not. It one of the first thing I teach in my C classes: > > type promotions in expression. They may be dumb, or may not, I will > > not argue on that. But being reasonable is knowing the tool before > > trying to use it. > > I really wonder why there are barriers on balconies. All reasonable > people know that being too close to the edge of the balcony is dangerous. What about kids? C is not out there to be used by kids, as barriers on balconies are mostly because of that. Furthermore, there are always those who have acrophobia.. > Here is a quote from one of the first books on C, written by K&R: > "C was designed under the assumption that the programmer is someone > reasonable who knows what he is doing". > > Here is a quote from the introduction to the Ada LRM: > "Ada was designed with consideration for programming as a human activity" > > I let as a philosophy homework that these two starting point led to > completely different languages. Interestingly, just like I said, C "pretends" people are reasonable, while Ada does not. The second approach is far nearer the truth, as we all can see.