Have STREQ(a,b)?

Yury V. Zaytsev yury at shurup.com
Sun Mar 29 18:49:22 UTC 2015


On Sun, 2015-03-29 at 18:18 +0300, Mooffie wrote:
> 
> I see many `if (strcmp (a, b) == 0)` in the code. Wouldn't it be nice
> if we create a macro and then do `if (STREQ (a,b))` instead?

Nope, because there is no point in that beyond obfuscating the code.

> (Not that it bothers me much. I ask this mainly to verify that my
> subscription works and that I can post here ;-) 

That was clever :-)

-- 
Sincerely yours,
Yury V. Zaytsev





More information about the mc-devel mailing list