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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Fun with C Date: Wed, 20 Apr 2011 07:11:28 +0200 Organization: A noiseless patient Spider Message-ID: References: <27cf3992-4132-4483-9110-adc7a089cd4a@e8g2000vbz.googlegroups.com> <3ccf18a2-ba10-42bc-aeab-9368749961fb@a11g2000pro.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 20 Apr 2011 05:11:22 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="cJo7kSTQUrCFv2/D8KKtqw"; logging-data="13099"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jZ2y22DrYJVy5l6Pg74DU" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <3ccf18a2-ba10-42bc-aeab-9368749961fb@a11g2000pro.googlegroups.com> Cancel-Lock: sha1:52V29+xaIDonPf9AHEb8XpiO2cE= Xref: g2news2.google.com comp.lang.ada:19881 Date: 2011-04-20T07:11:28+02:00 List-Id: 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. 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. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Adalog a d�m�nag� / Adalog has moved: 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00