A
Alf P. Steinbach
On 09/10/13 13:50, (e-mail address removed) wrote:
On Wednesday, October 9, 2013 1:29:56 PM UTC+2, David Brown wrote:
On 09/10/13 00:49, (e-mail address removed) wrote:
A compiler that yields unpredictable (lack of) effects for ordinary
code, is simply ... unpredictable.
Not a good thing, regardless of the users.
And let's face: not every C++ programmer is a language lawyer.
A C or C++ programmer who writes code without a defined meaning, but
expects the compiler to read his mind for what he wants, has a lot to
learn.
That's totally irrelevant, a slur.
Do quote the alleged "code without a defined meaning".
[snipped pages of further misrepresentation and innuendo]
My post was not meant to be a slur or to cause annoyance of any sort. I
am sorry you took it that way.
No quote of the alleged "code without a defined meaning".
Since there was no such.
I.e. your claim of being sorry can only refer to being caught.
I am still lost here.
I said that a programmer who writes code without a defined meaning has a
lot to learn. At no point did I say /you/ wrote such code, or that
/you/ "have a lot to learn".
That sounds a bit far fetched, like a thief caught red-handed with the
house's silver cutlery and denying that he was at all intending to take
it out of the house.
But it happens I have occasionally written code with UB (apparently you
don't have enough experience to have done that), and moreover I do have
a lot to learn, and I hope I will continue to learn for a long time...
However, no matter whether I'm dumb or smart, have lots to learn or not,
that does not help the reputation of gcc as being rather perverse and
impractical in its exploitation of formal loop-holes.
And using such sly arguments certainly does not help your reputation.
I certainly can't quote code that has not been posted
Right.
[snip]This pretends to be arguing against something I have written.
It is at best a misrepresentation.
It is either something you agree with, in which case write "Yes", or it
is something you /disagree/ with - in which case try to explain why.
The context indicates that your explanation (?) addresses something I
have written -- that it somehow corrects or teaches.
In that most natural interpretation, as correction or teaching, it's
false, a statement that only misleads.
I have not written anything that could make you doubt I'm unaware of the
standards.
On the contrary, in my answer to the OP, first in this thread, I
referred to "the formal UB for overflow" [of signed arithmetic].
You replied to that.
Therefore, you can't be unaware that I'm well aware of the C++ standard
(and elsewhere in this thread it's shown that you aren't, with respect
to the requirements on "main", but that you do know a bit about the C
standard, which I happily learned from). And so the statement is an
attempt to make others believe something that you /know/ is false.
It also has an interpretation where it's literally true but meaningless,
like a tautology (did you know, a definition is a definition), but I
think that no-one of sound mind could offer that as argument for or
against anything.
In short, like the first comment that you now say was intended to just
point out the existence of programmers and that every programmer has a
lot to learn, the second comment, which you now say was just intended to
point out the existence of standards, is nothing but deception.
- Alf