Towards Better Code Snippets: Exploring How Code Snippet Recall Differs with Programming Experience

被引:0
|
作者
Ichinco, Michelle [1 ]
Kelleher, Caitlin [1 ]
机构
[1] Washington Univ, Dept Comp Sci & Engn, St Louis, MO 63110 USA
基金
美国国家科学基金会;
关键词
KNOWLEDGE ORGANIZATION; PHYSICS PROBLEMS; EXPERT; PERCEPTION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:37 / 41
页数:5
相关论文
共 50 条
  • [31] Motivating Students to Learn How to Write Code Using a Gamified Programming Tutor
    Grey, Simon
    Gordon, Neil A.
    EDUCATION SCIENCES, 2023, 13 (03):
  • [32] Towards Exploring the Code Reuse from Stack Overflow during Software Development
    Huang, Yuan
    Xu, Furen
    Zhou, Haojie
    Chen, Xiangping
    Zhou, Xiaocong
    Wang, Tong
    30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 548 - 559
  • [33] Exploring attitudes towards French, English, and code-switching in Manitoba (Canada)
    Rodrigo-Tamarit, Maria
    Loureiro-Rodriguez, Veronica
    INTERNATIONAL JOURNAL OF BILINGUAL EDUCATION AND BILINGUALISM, 2024, 27 (06) : 793 - 808
  • [34] Procrastination vs. Active Delay: How Students Prepare to Code in Introductory Programming
    Cloude, Elizabeth B.
    Zhang, Jiayi
    Baker, Ryan S.
    Fouh, Eric
    PROCEEDINGS OF THE 55TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE 2024, VOL. 1, 2024, : 214 - 220
  • [35] Exploring the Effect of Augmented Reality on Verbal Communication and Code-editing in a Collaborative Programming Task
    Chung, Cheng-Yu
    Hsiao, I-Han
    IEEE 21ST INTERNATIONAL CONFERENCE ON ADVANCED LEARNING TECHNOLOGIES (ICALT 2021), 2021, : 395 - 397
  • [36] Programming video games and simulations in science education: exploring computational thinking through code analysis
    Garneli, Varvara
    Chorianopoulos, Konstantinos
    INTERACTIVE LEARNING ENVIRONMENTS, 2018, 26 (03) : 386 - 401
  • [37] Towards a Low-Code Programming Environment for Robot-Assisted Physical Training Activities
    De la Rosa, Jose Pablo
    Sorensen, Anders Stengaard
    Silva, Thiago Rocha
    2023 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, VL/HCC, 2023, : 287 - 289
  • [38] Al Coders Are among Us: Rethinking Programming Language Grammar towards Efficient Code Generation
    Sun, Zhensu
    Du, Xiaoning
    Yang, Zhou
    Li, Li
    Lo, David
    PROCEEDINGS OF THE 33RD ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2024, 2024, : 1124 - 1136
  • [39] Better Modeling the Programming World with Code Concept Graphs-augmented Multi-modal Learning
    Weyssow, Martin
    Sahraoui, Houari
    Liu, Bang
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2022), 2022, : 21 - 25
  • [40] Towards better ML-based software services: an investigation of source code engineering impact
    Li, Yanli
    Ye, Chongbin
    Chen, Huaming
    Chen, Shiping
    Xue, Minhui
    Shen, Jun
    2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE SERVICES ENGINEERING, SSE, 2023, : 128 - 137