24 ms·
“Rule 4: When you want a raw pointer as a field, use an index or an ID instead.” literally just woke up but: wouldn’t it be simpler to use a pointer to a point
by latenightcoding 3y ago
“Rule 4: When you want a raw pointer as a field, use an index or an ID instead.”
literally just woke up but: wouldn’t it be simpler to use a pointer to a pointer, or am I missing something
- deleted 3y ago[deleted]
- corysama 3y agoYou might like: "Handles are the better pointers (2018) (floooh.github.io)" https://news.ycombinator.com/item?id=36419739 https://news.ycombinator.com/item?id=36419739