[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
- Re: `compare-strings' style question, (continued)
Re: `compare-strings' style question, David Kastrup, 2009/11/19
Message not available
Re: `compare-strings' style question, tomas, 2009/11/20