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 条
  • [21] EXCEPTION HANDLING IN ROBOTICS
    COX, IJ
    GEHANI, NH
    COMPUTER, 1989, 22 (03) : 43 - 49
  • [22] Decision making processes in experts and novices
    Garcia Retamero, Rocio
    Dhami, Mandeep K.
    INTERNATIONAL JOURNAL OF PSYCHOLOGY, 2008, 43 (3-4) : 583 - 583
  • [23] Experts and novices and their use of reference groups
    Choong, P
    Lord, KR
    1996 AMA EDUCATORS' PROCEEDINGS, VOL 7 - ENHANCING KNOWLEDGE DEVELOPMENT IN MARKETING, 1996, 7 : 203 - 208
  • [24] Are Biology Experts and Novices Function Pluralists?
    Roberts, Andrew J.
    Bourrat, Pierrick
    REVIEW OF PHILOSOPHY AND PSYCHOLOGY, 2024,
  • [25] Auditory category knowledge in experts and novices
    Heald, Shannon L. M.
    Van Hedger, Stephen C.
    Nusbaum, Howard C.
    FRONTIERS IN NEUROSCIENCE, 2014, 8
  • [26] Backjumping is Exception Handling
    Robbins, Ed
    King, Andy
    Howe, Jacob M.
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2021, 21 (02) : 125 - 144
  • [27] Templates and exception handling
    Stevens, A
    DR DOBBS JOURNAL, 1999, 24 (03): : 103 - 105
  • [28] HANDLING THE EVIDENTIAL EXCEPTION
    MUNDAY, R
    CRIMINAL LAW REVIEW, 1988, : 345 - 354
  • [29] Exception handling in Kylix
    Boling, E
    Jazdzewski, C
    DR DOBBS JOURNAL, 2001, 26 (11): : 66 - +
  • [30] Ada exception handling
    Bretz, M.
    IT - Information Technology, 1987, 29 (02): : 89 - 96