Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tmtvl
on Oct 10, 2023
|
parent
|
context
|
favorite
| on:
My personal C coding style as of late 2023
For:
if (need_free == some_other_bool)
you could use:
if (!need_free ^ some_other_bool)
if you're using _Bool.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: