Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jhallenworld
on Nov 22, 2020
|
parent
|
context
|
favorite
| on:
What is your favorite C programming trick? (2009)
ptr.member should work here- I mean the compiler knows the left side is a pointer, so it should automatically dereference it.
beagle3
on Nov 22, 2020
[–]
C was practically a portable assembler when it was designed, and it was likely helpful for performance reasoning that all indirections were clearly visible.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: