Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qntm
on Sept 22, 2011
|
parent
|
context
|
favorite
| on:
How can C Programs be so Reliable?
A function call in a for loop's conditional is practically C best practice. K&R do it on almost every page.
Locke1689
on Sept 22, 2011
[–]
They usually only do it for builtins (e.g., strlen) and const functions, which makes this example a lot safer.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: