在More Programming Language中读到的一些“谚语”
陈硕 2001-12-20 10:58:39 这里摘录几条,是不同的人写的:
The sooner you start to code, the longer the program will take.
If you can't write it down in English, you can't code it.
Get your data structures correct first, and the rest of the program will write itself.
In non-I/O-bound programs, less than four percent of a program generally accounts for more than half of its running time.
Whenever possible, steal code.
Don't use the computer to do things that can be done efficently by hand.
Don't use hands to do things that can be done efficently by the computer.
Plan to throw one away, you will anyhow.
Keep it simple, stupid.
这句话我译为:“简化它,蠢货!”