谁写了这个编程话? “总是编码,好像最终维护您的代码的那个人将是一个暴力的精神病患者,知道您的住所." [英] Who wrote this programing saying? "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."

查看:130
本文介绍了谁写了这个编程话? “总是编码,好像最终维护您的代码的那个人将是一个暴力的精神病患者,知道您的住所."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

总是像最终结局的家伙一样编码 维护您的代码将是 知道你在哪里的暴力精神病患者 直播.

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

我在某人的博客上找到了它,并以Rick Osborne的名字介绍.但是我用谷歌搜索,有人说:马丁·戈尔丁(Martin Golding),约翰·伍兹(John Woods)和达米安·康威(Damian Conway). id = gJf9tI2mytIC& pg = PT27#v = snippet& q =%22Always%20code%20as%20if%20the%20guy%20who%20ends%20up%20maintaining%20your%20code%20will%20be%20a%20violent%20psychopath%20who %20knows%20where%20you%20live%22& f = false"rel =" noreferrer> Perl最佳做法"(2005年),但达米安没有提到谁写的.

I found this at somebody's blog, and it introduces as Rick Osborne's. But I google this, and other people says: Martin Golding's, John Woods' and Damian Conway's... Yes, Damian Conway used this quote in "Perl Best Practices" (2005) but Damian doesn't mention who wrote it.

有人知道这个格言的真正作者是谁吗?

Does anybody know who the real author of this aphorism is?

推荐答案

我认为ChrisW的研究是正确的,我试图通过做同样的事情来确认这一点.我发现使用逗号运算符

I thought ChrisW's research was right, and I tried to confirm it by doing the same thing. I found John Woods' name in 1991 in this thread: Usage of comma operator

比尔·米切尔(Bill Mitchell)查看个人资料更多 选项1991年9月26日,上午1:57 文章< 5 ... @ ksr.com> j ... @ ksr.com (约翰·伍兹(John F. Woods))写道:

Bill Mitchell View profile More options Sep 26 1991, 1:57 am In article <5...@ksr.com> j...@ksr.com (John F. Woods) writes:

[...] 始终进行编码,好像最终维护您的代码的人将是一个 暴力精神病患者,知道您的住所.可读性代码.

[...] Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. Code for readability.

该死的!

那么约翰·伍兹?

2014年8月22日:链接已更新.

Aug 22, 2014: Link is updated.

这篇关于谁写了这个编程话? “总是编码,好像最终维护您的代码的那个人将是一个暴力的精神病患者,知道您的住所."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆