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!postnews.google.com!e8g2000vbz.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Fun with C Date: Mon, 25 Apr 2011 05:12:39 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <27cf3992-4132-4483-9110-adc7a089cd4a@e8g2000vbz.googlegroups.com> <54108d8d-4e7c-4901-bd5e-819d27720d48@a11g2000pro.googlegroups.com> <4daa8fc6$0$7652$9b4e6d93@newsspool1.arcor-online.net> <37428a21-61b4-4cdf-9897-7b84252f8fce@a11g2000pro.googlegroups.com> <4dab6906$0$6893$9b4e6d93@newsspool2.arcor-online.net> <57a1fa4b-4730-41a8-be8a-82061ef9dc22@x37g2000prb.googlegroups.com> <4daca6ba$0$6773$9b4e6d93@newsspool3.arcor-online.net> <33973ba6-c390-4af1-9116-6facb12e2878@u12g2000vbf.googlegroups.com> <4db55433$0$6771$9b4e6d93@newsspool3.arcor-online.net> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1303733559 26823 127.0.0.1 (25 Apr 2011 12:12:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Apr 2011 12:12:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e8g2000vbz.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:20018 Date: 2011-04-25T05:12:39-07:00 List-Id: On Apr 25, 12:00=A0pm, Georg Bauhaus wrote: > On 4/25/11 1:06 PM, Paul Colin Gloster wrote: > > > It was suspected in John R. Anderson; and Robin Jeffries, "Novice LISP > > Errors: Undetected Losses of Information from Working Memory", > > "Human-Computer Interaction", Volume 1, 1985 that people can > > successfully learn to overcome minor problems, but when they later are > > trying to solve harder problems then they make simple mistakes which > > they had already learnt to not make. > > The impact of typos and other glitches seems a most interesting criterion > for error classification and how a language facilitates ease of checking. > > > Anyway, the C example explicitly involved =A0int =A0and =A0unsigned int= =A0and > > there is no guarantee that =A0int =A0is =A0signed int =A0though it is w= ith > > many compilers. > > That int is signed is defined by the language C, I think. > C99, =A7 6.2.5 Keep reading: C99, =A76.7.2 "5. Each of the comma-separated sets designates the same type, except that for bit-fields, it is implementation-defined whether the specifier int designates the same type as signed int or the same type as unsigned int." Now, I can see at least 2 ways this could be read...the imp-def appears to be imp-def! ;-) -- Martin