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 条
  • [41] Assessment of programming language learning based on peer code review model: Implementation and experience report
    Wang, Yanqing
    Li, Hang
    Feng, Yuqiang
    Jiang, Yu
    Liu, Ying
    COMPUTERS & EDUCATION, 2012, 59 (02) : 412 - 422
  • [42] Formative Assessment of Programming Language Learning Based on Peer Code Review: Implementation and Experience Report
    Sun, Qing
    Wu, Ji
    Rong, Wenge
    Liu, Wenbo
    TSINGHUA SCIENCE AND TECHNOLOGY, 2019, 24 (04) : 423 - 434
  • [43] Formative Assessment of Programming Language Learning Based on Peer Code Review: Implementation and Experience Report
    Qing Sun
    Ji Wu
    Wenge Rong
    Wenbo Liu
    Tsinghua Science and Technology, 2019, 24 (04) : 423 - 434
  • [44] Computer Assisted Self-Assessment of Programming Code A Report on University Students Experience and Opinion
    Insa, David
    Silva, Josep
    2016 15TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY BASED HIGHER EDUCATION AND TRAINING (ITHET), 2016,
  • [45] Formative Assessment of Programming Language Learning Based on Peer Code Review: Implementation and Experience Report
    Qing Sun
    Ji Wu
    Wenge Rong
    Wenbo Liu
    Tsinghua Science and Technology, 2019, (04) : 423 - 434
  • [46] Computer assisted self-assessment of programming code: A report on university students experience and opinion
    2016, Institute of Electrical and Electronics Engineers Inc., United States
  • [47] TOWARDS A CODE OF PRACTICE FOR CONSULTANTS WORKING IN LIBRARIANSHIP AND INFORMATION-SCIENCE - THE UK EXPERIENCE
    GURNSEY, J
    IFLA JOURNAL-INTERNATIONAL FEDERATION OF LIBRARY ASSOCIATIONS, 1984, 10 (03): : 273 - 275
  • [48] Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education
    Jin, Hyoungwook
    Lee, Seonghee
    Shin, Hyungyu
    Kim, Juho
    PROCEEDINGS OF THE 2024 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYTEMS, CHI 2024, 2024,
  • [49] How to evaluate students' learning outcome: A peer code review model in undergraduate programming class
    Wang Yanqing
    Su Xing
    Hu Yan
    Wang Qing
    ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, PROCEEDINGS, 2007, : 1292 - 1295
  • [50] A Case Study on When and How Novices Use Code Examples in Open-Ended Programming
    Wang, Wengran
    Rao, Yudong
    Kwatra, Archit
    Milliken, Alexandra
    Dong, Yihuan
    Gomes, Neeloy
    Martin, Sarah
    Catete, Veronica
    Isvik, Amy
    Barnes, Tiffany
    Martens, Chris
    Price, Thomas
    PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL 1, 2023, : 82 - 88