Howdy. My name is Matthew Mullenweg. I'm a kid born and raised in Houston, Texas. I write code, prose, and music. I've taken a few pictures too.
你好。我的名字是马修·穆伦韦格。我是一个出生并成长于得克萨斯州休斯顿的孩子。我写代码、散文和音乐。我也拍过一些照片。
我编写代码。
I write code, prose, and music. I've taken a few pictures too.
我写代码,散文和音乐,也拍过一些照片。
Writing tests before I write code has revolutionized my life as a programmer, and it can do the same for you.
在编写代码前编写测试极大地改变了我作为程序员的生活,它同样也可以改变您的生活。
As a programmer, the practice (XP or otherwise) that has had the biggest impact is writing tests before I write code.
作为一位编程人员,受最大影响的实践(Practice)(XP或其它方面)是在我编写代码之前编写测试程序。
Howdy. My name is Matthew Mullenweg. I'm a kid born and raised in Houston Texas. I write code prose and music. I've taken a few pictures too.
你好,我的名字叫马特·穆伦维格。我是一个出生并成长在得克萨斯州休斯敦的孩子。我写代码,散文和音乐,也拍过一些照片。
I use these mainly for compiling and testing the code that I write on other systems, and to allow me to run clients and servers on the various hosts.
我主要用它们来编译和测试我在其他系统上写的代码,同时也可以方便地在不同的主机环境下运行客户端和服务器。
I used V0.4 to write the article, so, to use this code, you need that version.
我使用了V0.4撰写本文,因此,要使用这段代码,您需要使用这个版本。
Finally, what code did I write?
最后,我都写了些什么代码呢?
I still want to have a test so I can have the confidence that comes from a full regression suite, but I have to write some code first, then write a test.
我仍然希望进行测试,这样我可以从完整的回归套件中获得信心,但我必须先编写一些代码,然后编写测试。
In this article I will show how to write basic code for manipulating objects in a UDDI registry.
在本文中,我将演示如何编写在UDDI注册表中操纵对象的基本代码。
Sometimes I write a little code, then write a little test, and they evolve together.
有时我编写了一点代码,然后编写一点测试,这样两者可以一起并进。
I should write only enough code to make the test case pass.
我应该只编写少量代码,只要使测试通过即可。
If you write + + I, anyone who reads your code is going to waste time wondering why you wrote it like that.
如果您编写的代码中包含+ +i,那么任何阅读您的代码的人都要浪费时间去思考您为什么要这样写。
The way I think about programming to interfaces is that, as I write client code, I want to write against the interface of the type that's as far up that hierarchy as I can go, without going too far.
而我所考虑的面向接口编程方式是这样的,当我编写客户端代码时,我会针对接口尽量调用抽象的类也就是层次顶端的类型,但同时要基本包括所需的内容。
Obviously, the more I learn about how to write better code and learn how to effectively test software, the better I am at catching defects.
很显然,越是了解如何编写更好的代码以及如何有效测试软件,就越能及早地捕捉到缺陷。
In fact, if I tried to write tests for this code, they would technically run but wouldn't ever logically work.
事实上,如果我试着为这段代码编写测试,从技术方面来说它可以运行,但是无法按照逻辑工作。
Thus, when I did fix them, I tended to write code to allow me to repeat that fix.
因此,当我去解决这些问题,我倾向于写代码,可以重复打补丁。
When I used to write code for electrophysiology data acquisition, real time meant microseconds.
我过去编写电生理学数据检索代码时,实时意味着毫秒。
Before answering that, I write some simple client code to persist one or two entities to a database.
在给出答案之前,我编写了一段简单的客户端代码,用于将一个或两个实体保持到数据库中。
I asked him: So, you just write code without bugs?
我问他:所以你写程序决不会出错啰?
In this article, I demonstrate how to write code to create an X-Y plot or line graph.
在本文中,我演示了如何编写代码来创建X - Y坐标图和线形图。
What I like most about all this is that, for the CORBA object invocation we have just been talking about to complete successfully, I had no code to write!
我最喜欢的是,对于我们刚讨论的关于如何使之成功完成的CORBA对象调用,我不必编写代码!
Producing large applications is a lot of work, so when I write a piece of (hopefully) well-designed code, I want that code to stay written.
开发庞大的应用程序是一件费时费力的工作,所以当我编写了部分(希望是)设计优良的代码后,我希望这些代码能保持不变。
The strategy saves me many lines of code and simplifies the code that I do need to write.
该策略为我省去了很多行代码,更简化了必须编写的代码。
That's the kind of code I want to write.
这就是我想编写的那种代码。
Well, what I do for code I am stuck with maintaining myself is write an introduction.
对于由我自己维护的代码,我会写一个简介。
"Who is going to write the code?" I asked.
我问他:“代码是谁来写呢?”
And this adds, now, a lot of power to the kinds of code I can write.
这也大大增加了,我能写的代码的功能范围。
And this adds, now, a lot of power to the kinds of code I can write.
这也大大增加了,我能写的代码的功能范围。
应用推荐