3 ms·
> We learned that working on pointers directly often leads to memory bugs. So we introduced references. Minor pedantic correction, references predate having po
by pjmlp 2y ago
> We learned that working on pointers directly often leads to memory bugs. So we introduced references.
Minor pedantic correction, references predate having pointers all over the place, in most systems languages.
C adopting pointers for all use cases isn't as great as they thought.