TY - GEN
T1 - Getting Used to Pointers with Pointer Drills
AU - Guerzhoy, Michael
N1 - Publisher Copyright:
© 2025 Owner/Author.
PY - 2025/6/27
Y1 - 2025/6/27
N2 - When you start out reading C code, reading code can feel like reading a foreign language: you get lost in a sea of asterisks, dots, arrows, and ampersands. Experienced C programmers write pointer code the way fluent users of math and language write: they do not necessarily always need to reason from first principles. We propose learning to use pointers the way students learn algebra in school: doing a large number of small exercises. John von Neumann famously said that ''[i]n mathematics, you don't understand things. You just get used to them.'' We hope that our drill exercises enable both getting used to pointers and understanding them. Our exercises and solutions are available at https://CPointerDrills.github.io/ .
AB - When you start out reading C code, reading code can feel like reading a foreign language: you get lost in a sea of asterisks, dots, arrows, and ampersands. Experienced C programmers write pointer code the way fluent users of math and language write: they do not necessarily always need to reason from first principles. We propose learning to use pointers the way students learn algebra in school: doing a large number of small exercises. John von Neumann famously said that ''[i]n mathematics, you don't understand things. You just get used to them.'' We hope that our drill exercises enable both getting used to pointers and understanding them. Our exercises and solutions are available at https://CPointerDrills.github.io/ .
KW - c
KW - cs1/cs2
KW - pointers
UR - https://www.scopus.com/pages/publications/105011823357
UR - https://www.scopus.com/pages/publications/105011823357#tab=citedBy
U2 - 10.1145/3724389.3731268
DO - 10.1145/3724389.3731268
M3 - Conference contribution
AN - SCOPUS:105011823357
T3 - Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE
SP - 757
EP - 758
BT - ITiCSE 2025 - Proceedings of the 30th ACM Conference on Innovation and Technology in Computer Science Education
PB - Association for Computing Machinery
T2 - 30th Annual Conference on Innovation and Technology in Computer Science Education, ITiCSE 2025
Y2 - 27 June 2025 through 2 July 2025
ER -