Good Programming Quotes 编程名言锦句

本文精选了一些关于编程的名言名句,旨在通过这些智慧的火花激发程序员们的灵感,从不同角度探讨编程的精髓、挑战与乐趣。其中包括对软件复用、优秀判断力的培养、错误发现的艰难、代码质量的重要性等主题的深刻见解。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

下面是一些迄今为止最好的关于编程的名言名句。阅读它们时相信你会有几分愉悦,你可以在一些会谈场合引用它们,一定能为你的团队吸引到不少的好程序员。

UNIX很简单。但需要有一定天赋的人才能理解这种简单。

–Dennis Ritchie

软件在能够复用前必须先能用。

–Ralph Johnson

优秀的判断力来自经验,但经验来自于错误的判断。

–Fred Brooks

‘理论’是你知道是这样,但它却不好用。‘实践’是它很好用,但你不知道是为什么。程序员将理论和实践结合到一起:既不好用,也不知道是为什么。

–佚名

当你想在你的代码中找到一个错误时,这很难;当你认为你的代码是不会有错误时,这就更难了。

-Steve McConnell 《代码大全

如果建筑工人盖房子的方式跟程序员写程序一样,那第一只飞来的啄木鸟就将毁掉人类文明。

-Gerald Weinberg

项目开发的六个阶段:

  1. 充满热情
  2. 醒悟
  3. 痛苦
  4. 找出罪魁祸首
  5. 惩罚无辜
  6. 褒奖闲人

–佚名

优秀的代码是它自己最好的文档。当你考虑要添加一个注释时,问问自己,“如何能改进这段代码,以让它不需要注释?”

-Steve McConnell 《代码大全

我们这个世界的一个问题是,蠢人信誓旦旦,智人满腹狐疑。

–Bertrand Russell

无论在排练中演示是如何的顺利(高效),当面对真正的现场观众时,出现错误的可能性跟在场观看的人数成正比。

–佚名

罗马帝国崩溃的一个主要原因是,没有0,他们没有有效的方法表示他们的C程序成功的终止。

–Robert Firth

C程序员永远不会灭亡。他们只是cast成了void。

–佚名

如果debugging是一种消灭bug的过程,那编程就一定是把bug放进去的过程。

–Edsger Dijkstra

你要么要软件质量,要么要指针算法;两者不可兼得。

–(Bertrand Meyer)

(有思想的话…)

有两种方法能写出没有错误的程序;但只有第三种好用。

–Alan J. Perlis

用代码行数来测评软件开发进度,就相对于用重量来计算飞机建造进度。

–比尔-盖茨

最初的90%的代码用去了最初90%的开发时间。余下的10%的代码用掉另外90%的开发时间。

–Tom Cargill

程序员和上帝打赌要开发出更大更好——傻瓜都会用的软件。而上帝却总能创造出更大更傻的傻瓜。所以,上帝总能赢。

–Anon

UNIX is simple. But It just needs a genius to understand its simplicity. 
--Dennis Ritchie 

Before software can be reusable, it first has to be usable. 
--Ralph Johnson 

Good judgment comes from experience, and experience comes from bad judgment. 
--Fred Brooks 

Theory is when you know something, but it doesn't work. 
Practice is when something works, but you don't know why it works. 
Programmers combine theory and practice: Nothing works and they don't 
know why. 

It's hard enough to find an error in your code when you're looking for it; 
it's even harder when you've assumed your code is error-free. 
-Steve McConnell Code Complete 

If builders built buildings the way programmers wrote programs, then the 
first woodpecker that came along would destroy civilization. 
-Gerald Weinberg 

The Six Phases of a Project: 
Enthusiasm 
Disillusionment 
Panic 
Search for the Guilty 
Punishment of the Innocent 
Praise for non-participants 

Good code is its own best documentation. As you're about to add a comment, 
ask yourself, 'How can I improve the code so that this comment isn't 
needed?' 
Improve the code and then document it to make it even clearer. 
--Steve McConnell Code Complete 
The trouble with the world is that the stupid are sure and the 
intelligent are full of doubt. 
--Bertrand Russell 

No matter how slick (efficient) the demo is in rehearsal, 
when you do it in front of a live audience 
the probability of a flawless presentation 
is inversely proportional to the number of people watching, 
raised to the power of the amount of money involved. 

One of the main causes of the fall of the Roman Empire was that, 
lacking zero, they had no way to indicate successful termination of 
their C programs. 
--Robert Firth 

Fifty years of programming language research and we end up with C++? 
--Richard A. O'Keefe 

C programmers never die. They are just cast into void. 

If debugging is the process of removing bugs, 
then programming must be the process of putting them in. 
--Edsger Dijkstra 

You can either have software quality or you can have pointer arithmetic; 
you cannot have both at the same time. 
--(Bertrand Meyer) 


(Thoughtful Ones...) 

There are two ways to write error-free programs; only the third works. 
--Alan J. Perlis 

Measuring programming progress by lines of code is like measuring 
aircraft building progress by weight. 
--Bill Gates 

The first 90% of the code accounts for the first 90% of the development 
time. 
The remaining 10% of the code accounts for the other 90% of the 
development time. 
--Tom Cargill 

Programmers are in a race with the Universe to create bigger and better 
idiot-proof programs 
The Universe is trying to create bigger and better idiots. 
So far the Universe is winning. 

--Anon



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值