From -2728202426798868164
X-Google-Thread: f78e5,174aa7b34b06a51
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!stump.algebra.com!devnull
From: hyrosen@mail.com (Hyman Rosen)
Newsgroups: comp.std.c++
Subject: Re: Is this really unspecified behavior?
Date: Fri, 23 Dec 2005 05:52:26 GMT
Lines: 42
Sender: mail2news@demon.net
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <20051221143756.25B5EF89B5@mscan5.ucar.edu>
References: <1132759176.368850.264850@g43g2000cwa.googlegroups.com>
 <H1phf.161529$zb5.99785@bgtnsc04-news.ops.worldnet.att.net>
 <1132933832.802917.153350@g14g2000cwa.googlegroups.com>
 <1133551647.532929.325730@z14g2000cwz.googlegroups.com>
 <1133583412.951239.208510@g49g2000cwa.googlegroups.com>
 <E1EjGBD-0005T8-00@chx400.switch.ch>
 <1133910546.716987.80030@g14g2000cwa.googlegroups.com>
 <E1EjzL6-0006ic-00@chx400.switch.ch>
 <0l5ep1ppfhdj5p1pcu7e4na4ub0vjajlq3@4ax.com>
 <E1Eoj80-0005p9-00@chx400.switch.ch> <87irtjy5sy.fsf@boost-consulting.com>
 <yiDzm7CLQUqDFwiL@robinton.demon.co.uk>
NNTP-Posting-Host: news.news.demon.net
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: news.demon.co.uk 1135317152 29179 158.152.254.254 (23 Dec 2005 05:52:32 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Fri, 23 Dec 2005 05:52:32 +0000 (UTC)
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
X-Accept-Language: en-us, en
X-Virus-Scanned: amavisd-new at cs.mu.OZ.AU
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id jBN5qQVp015233;
	Fri, 23 Dec 2005 16:52:26 +1100 (EST)
X-Path: comp-std-cpp-robomod!not-for-mail
X-Delivered-To: std-c++@ucar.edu
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Newsgroups: comp.std.c++
Xref: g2news1.google.com comp.std.c++:2881

Francis Glassborow wrote:
> And I frequently see abuses of English such as incorrect use of an 
> apostrophe, misspelling and incorrect grammar. That does not lead me to 
> suggest we need to change English, but it does lead me to complain about 
> poor educational standards.

As I'm now in the process of helping my 5-year old son
learn to read, changing English is starting to seem a
lot more attractive. Explaining why the same letter
combinations are pronounced differently in different
words makes him look at me with great suspicion.

> Should we change the C++ Standard to allow 'void main(){' or teach 
> programmers to write correct code?

Note that 'void main()' does not cause any actual problems.
Either the compiler accepts it or it doesn't, but it doesn't
make the code behave any differently one way or the other.

> What should we do to fix problems with the inexact nature
 > of floating point arithmetic? In each case the answer is
 > better education.

And in this case, the problem is inherent in the nature of
the beast. There is nothing that can be done technically to
deal with it - arbitrary precision arithmetic is orders of
magnitutde slower, for example.

Order of evaluation difficulty, on the other hand, is a
problem caused solely by the poor definition of programming
languages. It can be fixed in compilers without affecting
users or making them change the way they do things. It
leaves correct programs correct, and additionally corrects
programs with unspecified or undefined behavior.
It's all good.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



