Hello bearophile,

BCS:

I'm not following what you're saying there.

Sorry, English isn't my first language, so sometimes what I write is
wrong.

English *is* my first language, and sometimes what I write is wrong. :)

Let me explain better. In a program like:

[...]

Then a==b and aa1==aa2 have to become syntax errors, otherwise it's
too much easy for the programmer to forget the [] and hope the
compiler will compare the items of the arrays.

I'm fine with that solution. If you want to compare identity use:

(a.ptr is b.ptr && a.length == b.length)

or maybe "a is b" could be used.


--
... <IXOYE><



Reply via email to