the thinker of code complete --
来源:互联网 发布:淘宝刷流量会怎么样 编辑:程序博客网 时间:2024/05/27 20:25
1. 句子尽量紧凑, 相关的尽量放在一起, 顺序执行.
2. if先处理正常的路径,注意if和case的顺序, 注意default 是判断错误的,不要用于正常的情况.
3. 退出循环要尽量多, 没用过递归,以后用的时候注意内存, goto用于退出的善后处理挺好的, 其他还是不要多用了.
4. 最重要的是表驱动法, 不是很懂, 要在理解.
0 0
- the thinker of code complete --
- the thinker of code complete
- the thinker of code complete -- convention
- the thinker of code complete -- Defensive Programming
- the thinker of code complete -- Refactoring
- the thinker of code complete -- general issues in using variables
- the thinker of code complete -- High-Quality Routines
- the thinker of code complete -- Fundamental Data Types
- the thinker of code complete --General Control Issues
- The C# Complete Reference code
- [Code Complete] CH11 The Power of Variable Names 变量名的力量
- the code of love
- The Complete (?) List Of Cocos2D Tools
- The Complete (?) List Of Cocos2D Tools
- The Complete List of MIME Types
- 《CODE COMPLETE》
- Code Complete
- complete code
- java代码中 两种路径符号的写法
- Common Lisp学习之二:使用函数
- 3.android 读取文件中的数据
- SUSE Linux Enterprise 11 SP3 成功编译安装GCC 4.8.2
- Git 简单使用记录
- the thinker of code complete --
- Apache按照端口号配置反向代理
- Pyton实现简单爬虫和正则表达式的利用
- 区间DP【poj3280】
- Android得到控件的名称
- loading黑马程序员之IO字节流(2-2)
- apache加载mod_limitipconn,限制并发连接数
- Linux 命令简单整理
- 利用python实战开发一个web管理系统框架