Teaching robust programming

被引:3
|
作者
Bishop, M [1 ]
Frincke, D
机构
[1] Univ Calif Davis, Dept Comp Sci, Davis, CA 95616 USA
[2] Univ Calif Davis, Comp Secur Lab, Davis, CA 95616 USA
[3] Pacific NW Natl Lab, Richland, WA USA
关键词
Defensive programming - Directory name service (DNS) - Information hiding - Invalid inputs;
D O I
10.1109/MSECP.2004.1281247
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The need for robust programming to prevent programs from crashing or failing is discussed. badly written programs may crash of fail to perform when user provide invalid input, either deliberately or accidentally. Robust programming aims to prevent the abnormal termination and unexpected actions by using codes to handle invalid inputs. Robust programming differs from nonrobust programming in its adherence to three principles, including programming defensively, hiding information, and assuming the impossible. Working with the three principles of robust programming is also discussed.
引用
收藏
页码:54 / 57
页数:4
相关论文
共 50 条
  • [1] Education Teaching Evaluation Method Aided by Adaptive Genetic Programming and Robust Scheduling
    Sun, Zhuo
    Zhang, Shuang
    Liu, Mairu
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2022, 2022
  • [2] Education Teaching Evaluation Method Aided by Adaptive Genetic Programming and Robust Scheduling
    Sun, Zhuo
    Zhang, Shuang
    Liu, Mairu
    Mathematical Problems in Engineering, 2022, 2022
  • [3] PROGRAMMING AIDS FOR TEACHING OF PROGRAMMING
    FOXLEY, E
    SOFTWARE-PRACTICE & EXPERIENCE, 1978, 8 (02): : 213 - 225
  • [4] Teaching programming by teaching principles of reusability
    Biddle, R
    Tempero, E
    INFORMATION AND SOFTWARE TECHNOLOGY, 1998, 40 (04) : 203 - 209
  • [5] Robust dynamic programming
    Iyengar, GN
    MATHEMATICS OF OPERATIONS RESEARCH, 2005, 30 (02) : 257 - 280
  • [6] Robust Fractional Programming
    Gorissen, Bram L.
    JOURNAL OF OPTIMIZATION THEORY AND APPLICATIONS, 2015, 166 (02) : 508 - 528
  • [7] Robust Fractional Programming
    Bram L. Gorissen
    Journal of Optimization Theory and Applications, 2015, 166 : 508 - 528
  • [8] Robust integer programming
    Onn, Shmuel
    OPERATIONS RESEARCH LETTERS, 2014, 42 (08) : 558 - 560
  • [9] Robust goal programming
    Kuchta, D
    CONTROL AND CYBERNETICS, 2004, 33 (03): : 501 - 510
  • [10] An Agile teaching for programming
    Missiroli, Marcello
    Russo, Daniel
    Ciancarini, Paolo
    Mondo Digitale, 2016, 15 (64): : 31 - 36