`
tianxinet
  • 浏览: 265544 次
  • 性别: Icon_minigender_1
  • 来自: Net
社区版块
存档分类
最新评论

Error Checking-gives you the opportunity to play code review

阅读更多
http://www.ddj.com/dept/embedded/193104891

看到的一篇文章,关于code review的一种“最佳实践”。引用了NASA太空船开发的例子,并给出了几个“几乎可应用于任何软件项目的建议”。

“Code reviews are just one means of detecting program errors. Ed looks closely at how errors evade detection and gives you the opportunity to play code reviewer.Even if your blunders are neither so costly nor public, what you see here may look disturbingly familiar.”

“In other words, when you're expected to work smarter, you must actually think about the project, preferably before you begin. Ignoring potential problems is not a strategy.”
--不要把一切都交给重构,事先还是要尽可能想清楚。

“We've found that bouncing your coding ideas off somebody else really is the first and best line of defense against errors. ”
--熟悉吧,结对编程的影子,庞大的项目照样有敏捷原则。

“The tests must match up with reality, rather than with an idealized model:”
--警言啊。测试必须合乎“事实”,而不是理想化的模型。

分享到:
评论

相关推荐

    Model Checking-Edmund M. Clarke-模型检查PDF

    Also, if the design contains an error, model checking will produce a counterexample that can be used to pinpoint the source of the error. The method, which was awarded the 1998 ACM Paris Kanellakis ...

    Checking-username-availability-with-ajax-using-jQ_The Program

    THIS IS THE PROGRAM TO DEVELOP JAVA

    model checking - E.M Clarke

    Also, if the design contains an error, model checking will produce a counterexample that can be used to pinpoint the source of the error. The method, which was awarded the 1998 ACM Paris Kanellakis ...

    PyPI 官网下载 | checking-0.8.2.tar.gz

    标题中的"PyPI 官网下载 | checking-0.8.2.tar.gz"指的是Python Package Index(PyPI)上发布的名为"checking"的软件包的一个版本,具体为0.8.2版本。PyPI是Python社区中最核心的资源库,它提供了一个平台,让开发者...

    Fact-Checking-Survey-main-源码.rar

    "Fact-Checking-Survey-main-源码.rar" 文件提供了一套用于事实查证的源代码,通过对这份源码的分析,我们可以深入了解这一技术的实现原理和应用。 1. 事实查证的基本概念: 事实查证是一种评估信息真实性的过程,...

    checking-in-analysis_Java.zip_run

    标题“checking-in-analysis_Java.zip_run”提示我们这是一个与Java编程相关的项目,主要涉及考勤分析功能。描述中提到,我们需要先安装Java的支持环境,即JDK 6更新13的32位版本(jdk-6u13-windows-i586-p.exe),...

    Python库 | biobb_structure_checking-3.9.2-py3-none-any.whl

    资源分类:Python库 所属语言:Python 资源全名:biobb_structure_checking-3.9.2-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    PyPI 官网下载 | grpcio-health-checking-1.20.0rc3.tar.gz

    在`grpcio-health-checking-1.20.0rc3.tar.gz`压缩包内,通常会包含以下几部分: 1. `setup.py`:Python项目的配置文件,用于安装和打包。 2. `README.md`:项目介绍、使用方法和贡献指南等信息。 3. `requirements...

    keywords-checking-system-master.tar.gz

    在解压"keywords-checking-system-master.tar.gz"后,你会得到一个包含源代码、配置文件和可能的测试数据的项目目录。要运行系统,你需要先安装必要的依赖,然后根据README文件的指示进行编译和部署。在实际应用中...

    Error Checking and Correction

    ECC,全称为Error Checking and Correction,是一种针对NAND闪存设计的差错检测与校正技术。在NAND Flash的存储系统中,由于制造工艺、电压波动等因素,可能会导致数据在存储过程中出现错误。ECC算法的主要目标是...

    self_send-and-checking-since-8251.rar_self

    标题中的"self_send-and-checking-since-8251.rar_self"暗示了这是一个关于8251芯片的自我发送和检查的实验项目,而"self"标签进一步确认了这一点。这个实验通常在微机系统或者嵌入式系统课程中进行,旨在让学生理解...

    Checking-Table-Space-Size.rar_Table

    -- Statistic# 5 corresponds to "Space Allocated" ``` 4. **USER_TABLES 和 USER_SEGMENTS 视图**:如果你只想关注当前用户的表空间使用情况,可以查询这两个视图。 ```sql SELECT tablespace_name, SUM...

    PyPI 官网下载 | biobb_structure_checking-3.7.0.tar.gz

    **PyPI 官网下载 | biobb_structure_checking-3.7.0.tar.gz** PyPI(Python Package Index)是Python编程语言的官方软件仓库,它提供了大量的第三方库供开发者下载和使用。"biobb_structure_checking-3.7.0.tar.gz...

    VB源程序,声音控制

    VB程序,声音效果按钮API应用。'加上声音效果的漂亮按钮 '------------------------------...'build in some error checking in case the files are not found. ' ' 'Visual Basic Explorer 'http://www.vbexplorer.com

    BURNINTEST--硬件检测工具

    - Minor changes to the No operation error watchdog timer for the CD and Hard disk tests. - Minor correction to the Butterfly seek test. - Video playback trace logging increased. Release 5.3 build ...

    修复 there was an error checking the latest version of pip

    warning: there was an error checking the latest version of pip.

    Bochs - The cross platform IA-32 (x86) emulator

    - converted common USB code plus devices to the new 'usb_common' plugin Now the USB device classes no longer exist twice if both HC plugins are loaded. - added 'pseudo device' in common USB code ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    Absence of the UpdateCounter checking brings to reccurent scaling. Access demo: - FIX Memory leak in TdmMain.dmMainDestroy method. Version 1.5 ----------- - FIX: In the methods TFlexPanel ...

    Sakemail

    The default priority for each msg created will be prNormal, so you don‘t need to change your code any bit.1.8.6- Ulf Sturegren has added D4 compatibility, not many changes to the source (one letter)...

Global site tag (gtag.js) - Google Analytics