Important programming truths
来源:互联网 发布:淘宝订单批量删除软件 编辑:程序博客网 时间:2024/06/05 03:52
From : http://liw.fi/programming-truths/
This page contains a number of important programming truths that every budding programmer should know about. These truths are self-evident, and need no explanations.
- If it compiles, it works.
- If it compiles, it's correct.
- If it runs, it doesn't have any bugs.
- If it doesn't have any immediately obvious bugs, it's perfect.
- If a bug doesn't show, it doesn't exist.
- If it seems to work, it works.
- Doing something right is easy. Avoiding errors only takes a bit of concentration.
- The shorter the source code, the faster the program.
- It's obvious how to optimize a program.
- Prorammers don't make mistakes.
- Run-time errors don't occur.
- Users don't make mistakes.
- I don't make mistakes.
- Errors of any kind are rare.
- Error handling can be done in version 2.
- It's OK to crash on bad input.
- It's OK to give incorrect output on bad input.
- Portability isn't useful.
- All the world's a VAX. Or, these days, an MS-DOS box
- The length of the feature list is important.
- Speed is good, features are better.
- Slowness can be fixed in hardware.
- The bigger a program is, the better it is.
- Random changes to a program fix bugs.
- Testing takes only a short while.
- Finding bugs is easy. Fixing bugs is trivial.
- Bug-fixes don't need to be tested.
- Trivial changes of any kind don't need to be tested.
- The first approach, idea, or version is always the best.
- A 1% crash rate is actually pretty darn good.
- Code is self-evident. Comments aren't needed.
- Comments are meant for people other than the original author of the code.
- Undocumented features are fun and useful.
- It can always be fixed in the next version.
- Surprised users are happy users.
- Demonstrating for clients is the best debugging method.
- Important programming truths
- Some lesser-known truths about programming
- 一些鲜为人知的编程事实(Some lesser-known truths about programming)
- Unix Network Programming(8)---Some Important Functions
- important
- important
- !important
- !important
- What is the most important aspect of programming?
- RFC 1925 - The Twelve Networking Truths
- RFC 1925 - The Twelve Networking Truths
- 词汇-important
- important information
- flash important
- css important
- something important
- important homepage
- Important Links
- Resultful WebService 入门 helloworld
- linux的PC上挂载jffs2根文件系统映像
- 男儿志
- VB 6.0使用api
- 自动切换IP设置的脚本
- Important programming truths
- JavaScript对象的API文档
- c 的内存管理
- 5月22日google首页的吃豆子游戏,留个纪念
- Make your HDA-INTEL sound card work in linux!
- 我对随缘的一点新看法
- 事务复制中日志读取错误
- java文件类使用
- 转: VS 2005下DirectShow开发环境的配置