3 ms·
The fact that early pointer notation was just suffix [] is interesting. If they'd stuck with that it would have avoided the a*b ambiguity.
by stormbrew 14y ago
The fact that early pointer notation was just suffix [] is interesting. If they'd stuck with that it would have avoided the a*b ambiguity.
- xymostech 14y agoAnd if they hadn't, people would be confused about whether something's supposed to be a pointer or an array. I think I like the current syntax much better.
- stormbrew 14y agoTrue. But it really could have been anything suffix, including probably *, and it would have still resolved that ambiguity.
- coldtea 14y ago>And if they hadn't, people would be confused about whether something's supposed to be a pointer or an array. Not that they aren' confused between pointers and arrays now.