Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Hello71
on Jan 30, 2020
|
parent
|
context
|
favorite
| on:
Let's Destroy C
this is utter nonsense. in C, since before C89, all non-zero values are considered true in conditional contexts (if, for, while, ?:).
http://port70.net/~nsz/c/c89/c89-draft.html#3.6.4.1
. false must therefore be exactly zero. !1 is also always 0, as it must be.
http://port70.net/~nsz/c/c89/c89-draft.html#3.3.3.3
.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: