Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maxlybbert
on Dec 13, 2018
|
parent
|
context
|
favorite
| on:
Why should I have written ZeroMQ in C, not C++ (20...
You would only mark functions where it’s a bad idea to return the error code that way. Printf isn’t a function like that, and fprintf probably isn’t (use case of printing to stderr), but fwrite is.
maxlybbert
on Dec 15, 2018
[–]
... “bad idea to
ignore
the error code” ...
It took a few days to notice.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: