Top 10 reasons not to use coding standards : 十大理由不使用编码标准

1. 1 。 Coding conventions are hard to remember.编码公约是很难记得。 Why would you, the superstar programmer, have to remember coding conventions?为什么你会,超级巨星,程序员,要记住编码公约? As a superstar you should be allowed to code-as-you-will and leave it to the minions to clean it up after you.作为一个超级巨星,你应该允许代号为您将离开它到minions清洁起来后,你。

2. 2 。 Coding standards gives manager’s / clients yet another reason to reject your product / solution.编码标准,让经理人的/客户,但另一个原因拒绝您的产品/解决方案。 Why empower them to evaluate you on yet another metrics?为什么,使他们能够评估你的又一指标? After all managers have been known to measure productivity by counting lines of code.毕竟经理已经知道来衡量生产力计数的代码行。 This isn’t fiction.这不是小说。 I had one manager who counted productivity with wc -l .我曾一经理算谁的生产力与碳化钨-升

3. 3 。 Coding standards are different for different companies.编码标准是不同的不同的公司。 So having a coding convention in companies reduces mobility of software developers.因此,有一个编码公约在降低公司的流动性软件开发商。 Why would you, as a software developer, want to reduce your mobility?为什么你会作为一个软件开发商,要减少你的流动呢?

4. 4 。 You can never agree on whether tabs are good or spaces are good.你不能同意就是否标签是好的或空格是好的。 And then whether it is four spaces or eight.然后,无论是4位或8 。 Deciding upon a coding convention means you have to participate in endless fights of both camps.决定后,编码公约意味着你必须参与,在无休止的打架的两个阵营。 Not to mention whether hungarian notation is better or polish notation.更遑论是否匈牙利符号是更好或波兰的符号。 Why bother?为何?

5. 5 。 Coding convention makes your code easier to understand.编码公约,使您的代码更易于理解。 That makes your job less secure.这使得您的工作安全性较低。 Maintaining good coding standard means your code can be understood by anyone and your project easily outsourced to some lowly-paid Indian’s in Bangalore (the horror!).保持良好的编码标准的手段,您的代码是可以理解的人,和您的项目很容易外包给一些卑微的工资,印度的班加罗尔(恐怖! ) 。

6. 6 。 Insurance against merger & acquisitions.保险对并购。 Your job is virtually insured if your project is worth something.你的任务是,几乎被保险人如果您的项目是值得的东西。 Nobody else in the whole wide world can decipher your code as you rigorously do not follow any coding standards.没有其他人在整个世界上,可以破译出您的代码作为你严格遵守任何编码标准。

7. Oh yeah, I am doing exactly that . 7 。 噢,耶,我做的正是这一点 Imagine you are facing a strong opponent / competitor who questions your very capability to execute the project successfully.想象你正面临一个强大的对手/竞争者,谁的问题,您非常有能力执行项目成功。 You can easily bluff your way through as nobody can decipher your code to expose your bluff.您可以很容易地虚张声势您的方式,通过为没有人可以破译出您的代码以揭露您的虚张声势。 Then you can later correct the mistakes, or should you?然后你可以稍后纠正错误,还是要你?

8. 8 。 Coding standards does not increase shareholder value.编码标准,并不增加股东价值。 You can use this high-sounding phrase (and lie) to impress your colleagues or manager.您可以使用此高调词组(撒谎) ,使您的同事或经理人。 If your project is doomed then you may actually be right.如果您的项目,是注定那么您可能其实是不对的。

9. 9 。 Lack of coding standards is an in-built obfuscator of your source code.缺乏编码标准是一个在建obfuscator您的源代码。 Even if your code gets stolen (like Microsoft’s), nobody can make head or tail out of it (like Microsoft’s).即使您的代码得到被盗(如微软的) ,没有人可以使头部或尾部出它(如微软的) 。 Remember never to write code like Sybase or you will suffer when it gets stolen (by you know who).记得从来没有写代码一样,赛贝斯,否则您将蒙受时,得到被盗(你知道是谁) 。

10. 10 。 Coding standards isn’ta good conversation starter.编码标准不是很好的交谈精简。 You cannot impress your significant other (or hopeful) with it.你不能留下深刻的印象您的其他重大的(或希望) 。 Nor can you use it as a leverage to demand a raise.也可以使用它作为杠杆的需求提高。 So why bother?那么,为何麻烦?