Hi,
On Tue, 20 Feb 2007, Simon 'corecode' Schubert wrote:
There are no booleans in C.
Also, you just state that the construct is not common for _you_. It is
really quite common in C. Why? Because it is a short way to say _exactly_
what you want. Like when you say "BTW" instead of "by the way". It is not
only quicker to type, it is also quicker to read.
No, in plain English "!strcmp("nothing", u)" translates to "nothing
compares to u.
In mathematics, which is the basis of computer languages, "not compare"
means something completely different yet: "a" does not compare to "b"
means that they cannot be compared at all, i.e. the statement "a<b" is
neither true nor false.
So, we have -- as so often -- a case, where somebody says "it is obvious
how this expression translates to English", but really, it is not. So, why
not stay in the context, and interpret it like millions of programmers
before us? Or do you want to start another Babel?
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html