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 条
  • [21] External code quality correlated with programming experience or feelgood factor?
    Madeyski, Lech
    EXTREME PROGRAMMING AND AGILE PROCESSES IN SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4044 : 65 - 74
  • [22] Data models in the VO: How do they make code better?
    Gray, N
    Giaretta, DL
    Berry, DS
    Currie, MJ
    Draper, PW
    Taylor, MB
    ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS XIII, 2004, 314 : 535 - 538
  • [23] Exploring Mobile User Experience Through Code Quality Metrics
    Canfora, Gerardo
    Di Sorbo, Andrea
    Mercaldo, Francesco
    Visaggio, Corrado Aaron
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT (PROFES 2016), 2016, 10027 : 705 - 712
  • [24] Beyond Lean How low-code/no-code programming solutions make manufacturers more agile
    Hanson, Kip
    MANUFACTURING ENGINEERING, 2024, 173 (05): : 32 - 36
  • [25] Towards measuring the impact of industrial programming training on source code quality
    Morita, Hiromu
    Hirao, Toshiki
    Ishio, Takashi
    Nitta, Shota
    Mori, Yasunao
    Matsumoto, Kenichi
    Computer Software, 2021, 38 (03): : 75 - 82
  • [26] Programming Experience Might Not Help in Comprehending Obfuscated Source Code Efficiently
    Haensch, Norman
    Schankin, Andrea
    Protsenko, Mykolai
    Freiling, Felix
    Benenson, Zinaida
    PROCEEDINGS OF THE FOURTEENTH SYMPOSIUM ON USABLE PRIVACY AND SECURITY, 2018, : 341 - 356
  • [27] Cracking the code: exploring student attitudes towards coding in secondary education
    Hamer, Jessica M. M.
    Kemp, Peter E. J.
    Wong, Billy
    Copsey-Blake, Meggie
    CAMBRIDGE JOURNAL OF EDUCATION, 2024, 54 (04) : 495 - 516
  • [28] From Cards to Code: How Extreme Programming Re-Embodies Programming as a Collective Practice
    Mackenzie A.
    Monk S.
    Computer Supported Cooperative Work (CSCW), 2004, 13 (1): : 91 - 117
  • [29] Towards Better Code Reviews: Using Mutation Testing to Improve Reviewer Attention
    Mukhtarov, Ziya
    Abdul, Mannan
    Raupova, Mokhlaroyim
    Baghirov, Javid
    Tanveer, Osama
    Altunel, Haluk
    Tuzun, Eray
    2023 IEEE/ACM INTERNATIONAL CONFERENCE ON SOFTWARE AND SYSTEM PROCESSES, ICSSP, 2023, : 92 - 96
  • [30] AUTOGENICS: Automated Generation of Context-Aware Inline Comments for Code Snippets on Programming Q&A Sites Using LLM
    Bappon, Suborno Deb
    Mondal, Saikat
    Roy, Banani
    Proceedings - 2024 IEEE International Conference on Source Code Analysis and Manipulation, SCAM 2024, 2024, : 24 - 35