织梦CMS - 轻松建站从此开始!

罗索

当前位置: 主页>啰嗦IT>啰嗦IT>

非常幽默的程序注释

jackyhwei 发布于 2011-09-28 17:37 点击:次 
偶尔也会浏览其中一些代码,发现作者很有趣,他们习惯性的在源文件的开头,放一段语录。这些语录,有的让捧腹大笑,有的引人深思,有的典雅,有的粗俗。但不管怎样,都让人回味良久。现把它们摘录如下,供大家欣赏
TAG:

文章出处:http://www.limodev.cn/blog
作者联系方式:李先静 <xianjimli at hotmail dot com>

在前一家公司,开发一个Transform Proxy Server,它是基于Apache开发的。有一段时间,本人负责维护Apache的mod_ssl模块。所谓的维护,只是及时更新版本罢了,基本上不会修改它。偶尔也会浏览其中一些代码,发现作者很有趣,他们习惯性的在源文件的开头,放一段语录。这些语录,有的让捧腹大笑,有的引人深思,有的典雅,有的 粗俗。但不管怎样,都让人回味良久。现把它们摘录如下,供大家欣赏:

mod_ssl.h

/* “The Apache Group: a collection of talented individuals who are trying to perfect the art of never finishing something.”

– Rob Hartill         */

ssl_expr.h

/* “May all your PUSHes be POPed.” */

mod_ssl.c

/* “I’ll be surprised if others think that what you are doing is honourable.”

– Ben Laurie, Apache-SSL author */

ssl_engine_ext.c

/* “Only those who attempt the absurd can achieve the impossible.”

– Unknown */

ssl_engine_mutex.c

/* “Real programmers confuse Christmas and Halloween because DEC 25 = OCT 31.”

– Unknown     */

ssl_expr_eval.c

/* “Make love, not software!”

– Unknown */

ssl_engine_compat.c

/* “Backward compatibility is for users who don’t want to live on the bleeding edge.”

– Unknown          */

ssl_engine_init.c

/* “Recursive, adj.; see Recursive.”

– Unknown   */

ssl_engine_pphrase.c

/* “Treat your password like your toothbrush. Don’t let anybody else use it, and get a new one every six months.”

– Clifford Stoll     */

ssl_engine_config.c

/* “Damned if you do, damned if you don’t.”

– Unknown        */

ssl_engine_io.c

/* “MY HACK: This universe. Just one little problem: core keeps dumping.”

– Unknown    */

ssl_engine_rand.c

/* “The generation of random numbers is too important to be left to chance.” */

ssl_util.c

/* “Every day of my life I am forced to add another name to the list of people who piss me off!”

– Calvin          */

ssl_engine_kernel.c

/* “It took me fifteen years to discover I had no talent for programming, but I couldn’t give it up because by that time I was too famous.”

– Unknown */

ssl_engine_vars.c

/* “Those of you who think they know everything are very annoying to those of us who do.”

– Unknown       */

ssl_scache.c

/* “Open-Source Software: generous programmers from around the world all join forces to help you shoot yourself in the foot for free.”

– Unknown         */

ssl_engine_ds.c

/* “If you can’t do it in C or assembly language, it isn’t worth doing.”

– Unknown         */

ssl_engine_log.c

/* “The difference between a computer industry job and open-source software hacking is about 30 hours a week.”

– Ralf S. Engelschall     */

ssl_expr.c

/* “It is hard to fly with the eagles when you work with the turkeys.”

– Unknown  */

(李先静)
本站文章除注明转载外,均为本站原创或编译欢迎任何形式的转载,但请务必注明出处,尊重他人劳动,同学习共成长。转载请注明:文章转载自:罗索实验室 [http://www.rosoo.net/a/201109/15072.html]
本文出处:limodev.cn/blog 作者:李先静
顶一下
(2)
100%
踩一下
(0)
0%
------分隔线----------------------------
相关文章
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
将本文分享到微信
织梦二维码生成器
推荐内容