Liste des Groupes | Revenir à cl c |
Kaz Kylheku <643-408-1753@kylheku.com> writes:
>On 2024-08-29, Ben Bacarisse <ben@bsb.me.uk> wrote:>Bart <bc@freeuk.com> writes:>
>On 29/08/2024 13:35, Ben Bacarisse wrote:>Bart <bc@freeuk.com> writes:>>I explained that. LHS and RHS can be identical terms for assignment inSo you use "exactly the same" to mean "exactly the same except for the
pretty much every aspect, but there are extra constraints on the LHS.
differences".
No, I do mean exactly the same, both in terms of syntax and (in my
implementations, which are likely typical) internal representation of those
terms.
>
There are no differences other than where the type system says your code is
invalid. So are no differences when considering only valid programs.
>
This program in my language:
>
42 := 42
>
is valid syntax.
So what? We were talking about assignment in C. You cut the two
previous quotes where it was clear we were talking about C. This is not
an honest thing to do. You are arguing for the sake if it, and in a
dishonest way too.
It's also valid syntax in C, with a constraint violation that can be
"caught later on" in an implementation of C, just like in Bart's
language.
Have you taken Bart's bait and are now discussing a narrower context?
>
The claim that C's assignment is symmetric and what is required on the
two sides is exactly the same is junk. C's assignment has different
syntax on each side, and what is required is even more strict.
Les messages affichés proviennent d'usenet.