help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: `compare-strings' style question


From: Andreas Politz
Subject: Re: `compare-strings' style question
Date: Fri, 20 Nov 2009 09:13:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

tomas@tuxteam.de writes:

>
> Yes, that would be a similar problem as C, where zero's alter ego is
> false. It still looks a bit funny to say
>
>   if(!strcmp(foo, bar)) ...
>
> ...but at least, it's just a problem of name choice (more appropriate
> would have been something along the lines of strdiff).
>

I don't know.  It just follows the standard for compare functions in C,
which is different from lisp predicates, as well as lisp compare
functions.

-ap





reply via email to

[Prev in Thread] Current Thread [Next in Thread]