2 ms·
C implements a fairly low-level but general model of how a computer works, and a programmer's understanding of pointers is something of a proxy for their unders
by mannykannot 13y ago
C implements a fairly low-level but general model of how a computer works, and a programmer's understanding of pointers is something of a proxy for their understanding of how that model works. Therefore, C has a sort of built-in test for a level of competence in a programmer. Unfortunately, it is by no means perfect, and you can still find people writing in C who have no idea why they should not return a pointer to an automatic variable.