`char *p` is identical to `char* p`??
char * p;
char q;
// Completely clear that both are pointers
var p, q: char*
I actually think that using the existing syntax for something different, even if it's "fixing" the meaning, is worse than just using the old behaviour.Yes, it is, and "char* p, q;" is also completely clear! (And much more concise, too.)
> I actually think that D's use of an existing syntax for something different, even if it's "fixing" the meaning, is worse than just using the old behaviour.
At first blush it does seem like a problem. But my experience in translating many, many tens of thousands of lines of code from C to D is making a mistake with that always results in an obvious semantic error that is trivial to fix.