Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zgs
on Dec 7, 2020
|
parent
|
context
|
favorite
| on:
Linus Torvalds' good taste argument for linked lis...
Why not the concise version?
for(p=NULL,q=head; q!=entry;p=q,q=q->next); *(p?&p->next:&head) = q->next;
oblio
on Dec 7, 2020
[–]
Because we have big, high resolutions screens and we don't "list" (i.e. print) our source code anymore?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
for(p=NULL,q=head; q!=entry;p=q,q=q->next); *(p?&p->next:&head) = q->next;