I think I've seen you argue for things that have no semantic
consequences, such as expression order in equality tests, but the upshot
Yes, I have, though in that particular case I argued for an order that
does a better job of producing error messages when certain common types
of mistakes are made. I'm not clear whether that counts as an
extensional or intensional distinction - I do, however, consider it a
practically useful one. On the flip side, while I presented an argument
for that order, I've seldom actually used that order - in this case, the
benefits to be too weak to even convince myself.
A better example, and one that is closely related to this thread, is the
fact that I follow a convention of using T* for function parameters that
point to a single object, and T[] for function parameters that point at
the first of a series of objects that are (or at least, might be)
accessed by the function, even though there's not a single feature of C
that cares about that distinction.
I've never argued that such concerns were a strong argument for any
particular coding style.
is that there are two separate cases to be made: do the two notions
differ in any way that is detectable within C, and are there any other
reasons why the distinction might matter?
In C as it's currently written, there is no way to even use one of the
two notions, much less identify a meaningful distinction between them.
As Seungbeom Kim has already pointed out, 6.7.3p9 says "If the
specification of an array type includes any type qualifiers, the element
type is so-qualified, not the array type."
The suggestion that was made was that an opportunity had been missed to
make the C type system more consistent, which means it must be talking
about a modified version of C. It must, at a minimum, be modified by
removing section 6.7.3p9. But on top of that, I don't see it as much of
a missed opportunity, unless that modified version of C also differed
from current standard C by making the distinction matter for some
reason. What I've been trying to identify is what people who feel this
way think the distinction should be.