How students choose names: A replication study

被引:0
|
作者
Mi, Qing [1 ]
Wang, Xiaoke [1 ]
Chen, Bingnuo [1 ]
机构
[1] Beijing Univ Technol, Beijing, Peoples R China
关键词
variable name; naming education; survey; code readability; program comprehension;
D O I
10.1145/3551349.3561174
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Names of classes/methods/variables play an important role in code readability. To investigate how developers choose names, Feitelson et al. conducted an empirical survey and suggested a method to improve naming quality. We replicated their study, but limited the survey subjects to university students. Specifically, we conducted two experiments including 341 students from freshmen to seniors. The aim of the first experiment was to investigate the characteristics of the names given by students. The experimental results showed that the name length as well as the number of words contained in names increased with the grade and students have ambiguity in understanding variable names. The second experiment was to verify whether Feitelson et al.'s naming method can help improve the quality of the names given by students. The experimental results showed an improvement in naming quality for more than 67% of cases, which confirms the validity of the method for university students.
引用
收藏
页数:5
相关论文
共 50 条
  • [21] How to choose
    Michael Haynes
    [J]. Nature, 2017, 546 : 180 - 180
  • [22] Chinese Students Abroad: Why They Choose the UK and How They See Their Future
    Counsell, Doug
    [J]. CHINA-AN INTERNATIONAL JOURNAL, 2011, 9 (01) : 48 - +
  • [23] CHOOSE - BUT HOW
    OLEINIK, A
    [J]. SOVIET LAW AND GOVERNMENT, 1988, 27 (02): : 94 - 94
  • [24] How Can We Get Students to Choose Primary Care Careers?
    Volpintesta, Edward Joseph
    [J]. ACADEMIC MEDICINE, 2013, 88 (12) : 1789 - 1790
  • [25] How do you Choose a Friend? Greek Students' Friendships in Facebook
    Kourti, Evangelia
    Kordoutis, Panos
    Madoglou, Anna
    [J]. PROCEEDINGS OF THE 3RD EUROPEAN CONFERENCE ON SOCIAL MEDIA, 2016, : 116 - 124
  • [26] A Qualitative Study of Why Students Choose to Study Veterinary Nursing
    Harniman, Suzannah
    [J]. JOURNAL OF VETERINARY MEDICAL EDUCATION, 2023,
  • [27] How can we encourage medical students to choose obstetrics and gynaecology?
    Thorne, E. P. C.
    Gibbs, K.
    Sodani, N.
    Phillips, H.
    Wynne, S.
    Shearer, A.
    Imparaj, S.
    Wardlaw, L.
    Mak, S.
    Wright, A.
    [J]. BJOG-AN INTERNATIONAL JOURNAL OF OBSTETRICS AND GYNAECOLOGY, 2019, 126 : 42 - 43
  • [28] Fashion students choose how to learn by constructing videos of pattern making
    Cavanagh, Michaella
    Pete, Mari
    [J]. BRITISH JOURNAL OF EDUCATIONAL TECHNOLOGY, 2017, 48 (06) : 1502 - 1511
  • [29] Ge-whiz! How students choose their general education classes
    Seeley, Eugene Lyle
    Goddard, Todd
    Miller, Ronald Mellado
    [J]. JOURNAL OF APPLIED RESEARCH IN HIGHER EDUCATION, 2018, 10 (03) : 322 - 332
  • [30] Encouraging French medical students to choose a career in psychiatry: How and why?
    Andlauer, Olivier
    Van Effenterre, Aude
    Haffen, Emmanuel
    Sechter, Daniel
    Farooq, Kitty
    Lydall, Gregory
    Malik, Amit
    Bhugra, Dinesh
    [J]. INTERNATIONAL REVIEW OF PSYCHIATRY, 2013, 25 (04) : 460 - 465