Remix.run Logo
inigyou 2 days ago

Wait, they added a new operator and didn't fix that parsing stupidity by always requiring parentheses?

adrian_b a day ago | parent [-]

I assume that there would be a zillion of legacy C source files that would be broken by such a change.

inigyou a day ago | parent [-]

There are no legacy C source files using _Countof.

uecker a day ago | parent [-]

That was discussed, but consistency with sizeof was considered more important. And if you figured out how to parse sizeof, parsing countof is not an additional burden.