为什么微软制造差的程序员?

10-08-01 banq
Why Microsoft Makes Bad Programmers

原文:After the LIDNUG presentation, we stayed online to discuss unit testing experiences. A couple of things stayed with me from that talk. One: we’re (we developers) are obsessed with tooling and technology (you didn’t expect hard news here, right?). Our main focus should be about solving the business problem first. But, us geeks, we like to know more about the how, rather than the why.

The second is that Microsoft, by providing better and better VS experience, and a couple of great technologies, created less and less gifted programmers, and more professional debuggers. And I mean the people, not the tools.

Microsoft is not the only culprit (hey, it’s true around the software world). With our obsession for tools and technology (which MS provided), we needed better tools for getting ourselves out of more and more messes. So MS obliged, and gave us better debuggers, and for that we became proficient at excavating software problems.

If we chose the road less travelled, we would be working on eliminating bugs before they happen. This of course falls under the jurisdiction of better programming.

So the next time someone asks: why isn’t TDD catching on? You can blame Microsoft, or their tools, or the software industry in general. Tell’em I said so.

What can you do? Now, that’s your responsibility and what makes you a professional.

Think about your code before you write it. Make sure it works. Review it. Think about where the bugs can hide, and leave traps for them, to catch them when they rear their ugly head.

微软提供越来越好的可视化VS经验,伟大的程序员越来越少,更多的是调试程序员。

微软之类厂商提供了很多强大工具,比如单元测试和BUG发现,这些会惯坏程序员,使他们容易编写出很多BUG的程序,反正在后面有测试环节测试,有好的工具可以发现(其实没有一个工具可以发现大的设计缺陷,方向性问题)。

好的方式是:在写代码之前好好考虑你的代码,确保他们写出来后能够工作,检查复习它,想想BUG会隐藏在那里,哪里会留下陷阱,在它们刚刚露头时就扼杀在摇篮中。

[该贴被banq于2010-08-01 10:58修改过]

1
猜你喜欢