Newsgroups: alt.lang.design,comp.lang.c++,comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!pipex!dircon!rheged!simon
From: simon@rheged.dircon.co.uk (Simon Brooke)
Subject: Re: Comparing productivity: LisP against C++ (was Re: Reference Counting)
Message-ID: <D1FpDD.4A7@rheged.dircon.co.uk>
Organization: none. Disorganization: total.
References: <19941203T221402Z.enag@naggum.no> <3danhm$fqi@xmission.xmission.com> <3dc3ur$fsc@wariat.wariat.org> <3dd145$gnl@xmission.xmission.com>
Date: Mon, 26 Dec 1994 20:10:24 GMT
Lines: 34
Xref: glinda.oz.cs.cmu.edu comp.lang.c++:105343 comp.lang.lisp:16212

In article <3dd145$gnl@xmission.xmission.com>,
Michael Callahan <callahan@xmission.com> wrote:
>Robert J. Brown (rj@wariat.org) wrote:
>  chop
>: : : >    while (!feof(in)){
>: : : >       fread(buffer, 1, 1, in);
>: : : >       buffer = 255 - buffer;
>:                      ^^^^^^ ---------->>>  this should be ~buffer
>:                                            since you do not know what the
>:                                            implementation of arithmetic is
>:                                            in general.  It couold be 1's comp-
>:                                            liment, signed magnitude, or even
>:                                            packed decimal.  The '~' operator
>:                                            is *ALWAYS* going to produce the
>:                                            1's compliment of the operand!
>: : : >      fwrite(buffer, 1, 1, out);
>: : : >    }
>: : : > }
>
>That's not true.  You can do arithmetic on unsigned chars in C, it works
>fine. 

Ohhh... at this point us poor lispers listening in don't know whether
to laugh, cry, or call in the men with the plain white ambulance. 'You
can do arithmetic on unsigned chars'. Someone tell me, what is
'A' + 'A'? Is it 'A'? Is it 'B'? Guys, they program in this. Did they
let these folk loose on the Airbus flight control system... Oh G*d.
Ohh G*d, don't let me fly in an Airbus!

-- 
--------simon@rheged.dircon.co.uk

	How many pentium designers does it take to change a lightbulb?
		1.99904274017
