Re: Have STREQ(a,b)?



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]