Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
thedigitalengel
on May 14, 2011
|
parent
|
context
|
favorite
| on:
Why C++ is vastly superior to C
You don't get a warning because the program is doing exactly what you asked it to do. You said a C with x = 0 is equal to 'true'. And you said a D with f = 0.0 is equal to 'true'. By transitivity of equality ...
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: