22条经典的编程引言(英)

1. Premature optimization is the root of all evil!

 

2. Walking on water and developing software from a specification are easy if both are frozen

 

3. It always takes longer than you expect, even when you take into account Hofstadter’s Law.

 

4. Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems

 

5. Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

 

6. Measuring programming progress by lines of code is like measuring aircraft building progress by weight.

 

7. PHP is a minor evil perpetrated and created by incompetent amateurs, whereas Perl is a great and insidious evil, perpetrated by skilled but perverted professionals.

 

8. On two occasions I have been asked, ‘Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?’ I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.”

 

9. Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

 

10. Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

 

11. I don’t care if it works on your machine! We are not shipping your machine!

 

12. I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone.

 

13. A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila.

 

14. If debugging is the process of removing software bugs, then programming must be the process of putting them in.

 

15. It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.

 

16. In theory, theory and practice are the same. In practice, they’re not.

 

17. Two things are infinite: the universe and human stupidity; and I’m not sure about the universe.

 

18. Perl - The only language that looks the same before and after RSA encryption.

 

19. I love deadlines. I like the whooshing sound they make as they fly by.

 

20. Saying that Java is good because it works on all platforms is like saying anal sex is good because it works on all genders.

 

21. XML is like violence - if it doesn’t solve your problems, you are not using enough of it.

 

22. Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值