Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
glouwbug
on May 24, 2020
|
parent
|
context
|
favorite
| on:
The Ten Commandments for C Programmers (1987)
Generic data structures work great if they use a void* since malloc returns a void*. Just malloc your structs, and suddenly a single set of 10 or so functions can work with all data types to build queues, lists, hash maps, etc
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: