TY - GEN
T1 - Towards better code snippets
T2 - 2017 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2017
AU - Ichinco, Michelle
AU - Kelleher, Caitlin
N1 - Publisher Copyright:
© 2017 IEEE.
PY - 2017/11/9
Y1 - 2017/11/9
N2 - Programmers of all experience levels attempt to leverage code snippets with varying success, often as reminders or to learn new skills. To date, little work has explored the specific elements within code snippets that are challenging for novices. Comparing how novices and experts recall code snippets may expose what code elements programmers focus on and inform new approaches for improving examples for inexperienced programmers. We conducted a study, inspired by past novice-expert studies, in which we asked everyday, occasional, and non-programmers to study and then recall code snippets. The key distinctions and similarities in the types and locations of recalled tokens provide insight for a set of recommendations that could improve the presentation of code snippets.
AB - Programmers of all experience levels attempt to leverage code snippets with varying success, often as reminders or to learn new skills. To date, little work has explored the specific elements within code snippets that are challenging for novices. Comparing how novices and experts recall code snippets may expose what code elements programmers focus on and inform new approaches for improving examples for inexperienced programmers. We conducted a study, inspired by past novice-expert studies, in which we asked everyday, occasional, and non-programmers to study and then recall code snippets. The key distinctions and similarities in the types and locations of recalled tokens provide insight for a set of recommendations that could improve the presentation of code snippets.
UR - https://www.scopus.com/pages/publications/85040973414
U2 - 10.1109/VLHCC.2017.8103448
DO - 10.1109/VLHCC.2017.8103448
M3 - Conference contribution
AN - SCOPUS:85040973414
T3 - Proceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC
SP - 37
EP - 41
BT - Proceedings - 2017 IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC 2017
A2 - Rodgers, Peter
A2 - Henley, Austin Z.
A2 - Sarma, Anita
PB - IEEE Computer Society
Y2 - 11 October 2017 through 14 October 2017
ER -