Understanding Exception Handling: Viewpoints of Novices and Experts

被引:42
|
作者
Shah, Hina B. [1 ]
Goerg, Carsten [2 ]
Harrold, Mary Jean [1 ]
机构
[1] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
[2] Georgia Inst Technol, Sch Interact Comp, Atlanta, GA 30308 USA
基金
美国国家科学基金会;
关键词
Exception handling; user study; software developers;
D O I
10.1109/TSE.2010.7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Several recent studies indicate that many industrial applications exhibit poor quality in the design of exception-handling. To improve the quality of error-handling, we need to understand the problems and obstacles that developers face when designing and implementing exception-handling. In this paper, we present our research on understanding the viewpoint of developers-novices and experts-toward exception-handling. First, we conducted a study with novice developers in industry. The study results reveal that novices tend to ignore exceptions because of the complex nature of exception-handling. Then, we conducted a second study with experts in industry to understand their perspective on exception-handling. The study results show that, for experts, exception-handling is a crucial part in the development process. Experts also confirm the novices' approach of ignoring exception-handling and provide insights as to why novices do so. After analyzing the study data, we identified factors that influence experts' strategy selection process for handling exceptions and then built a model that represents a strategy selection process experts use to handle exceptions. Our model is based on interacting modules and fault scope. We conclude with some recommendations to help novices improve their understanding of exception-handling.
引用
收藏
页码:150 / 161
页数:12
相关论文
共 50 条
  • [1] Manual handling techniques: Comparing novices and experts
    Authier, M
    Lortie, M
    Gagnon, M
    INTERNATIONAL JOURNAL OF INDUSTRIAL ERGONOMICS, 1996, 17 (05) : 419 - 429
  • [2] Understanding critical thinking in orthodontic residency to transform novices to experts
    Vaiid, Nikhillesh
    Foong, Kelvin Weng Chiong
    Tayeb, Haythum O.
    Alansari, Reem A.
    Adel, Samar M.
    SEMINARS IN ORTHODONTICS, 2024, 30 (04) : 443 - 451
  • [3] Visualization of Exception Handling Constructs to Support Program Understanding
    Shah, Hina
    Goerg, Carsten
    Harrold, Mary Jean
    SOFTVIS 2008: PROCEEDINGS OF THE 4TH ACM SYMPOSIUM ON SOFTWARE VISUALIZATION, 2008, : 19 - 28
  • [4] MOONSTONE: Support for Understanding and Writing Exception Handling Code
    Kistner, Florian
    Kery, Mary Beth
    Puskas, Michael
    Moore, Steven
    Myers, Brad A.
    2017 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2017, : 63 - +
  • [5] Exception handling
    Buhr, PA
    Harji, A
    Mok, WYR
    ADVANCES IN COMPUTERS, VOL 56, 2002, 56 : 245 - 303
  • [6] DIAGNOSTIC CLASSIFICATION BY EXPERTS AND NOVICES
    KROL, NP
    DEBRUYN, EE
    VANDENBERCKEN, JH
    ACTA PSYCHOLOGICA, 1992, 81 (01) : 23 - 37
  • [7] Systems that turn novices into experts
    Kellock, Brian
    Engineering computers, 1987, 6 (04): : 32 - 35
  • [8] WRITING STRATEGIES OF EXPERTS AND NOVICES
    LANSMAN, MA
    SMITH, JB
    JENKINS, I
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1988, 26 (06) : 506 - 506
  • [9] Experts, but not novices, exhibit StartReact indicating experts use the reticulospinal system more than novices
    Bartels, Brandon M.
    Quezada, Maria Jose
    Ravichandran, Vengateswaran J.
    Honeycutt, Claire F.
    JOURNAL OF MOTOR BEHAVIOR, 2021, 53 (01) : 128 - 134
  • [10] Examining Student Conceptual Understanding of Dose in Radiation Therapy by Comparing Frameworks of Experts and Novices
    Cetnar, A.
    Gupta, N.
    MEDICAL PHYSICS, 2017, 44 (06)