你好。我的名字是马修·穆伦韦格。我是一个出生并成长于得克萨斯州休斯顿的孩子。我写代码、散文和音乐。我也拍过一些照片。
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.
你好,我的名字叫马特·穆伦维格。我是一个出生并成长在得克萨斯州休斯敦的孩子。我写代码,散文和音乐,也拍过一些照片。
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 want to do little piece of code that's going to do planar geometry.
我的工作就是写代码,而不是测试。
我喜欢写代码。
我又开始写代码,而不是运营护送队。
哪些代码我当前写的测试例中被调用或没有被调用?
Which code is (or is not) being called by the test cases I currently have written?
战场上的日子也让我开始思考,除了写代码外,我还能在谷歌公司做些什么。
My time there also made me wonder whether I can and should do more at Google than produce code.
我该怎么写这块代码呢?
我想写一小段代码。
我不必写SQL代码,但我的应用程序由关系数据库支持的。
I did not have to write a single line of SQL code, yet my application is backed by a relational database.
如果我经常不写测试,那么不久会有一堆代码没有经过测试。
If I frequently don't write tests, then pretty soon I've got a pile of code that isn't covered by tests.
我门需要在消息处理中为FORM1写一行“粘合代码”,请求业务层执行适当的逻辑。
The "glue code" we need to write for Form1 is just a line in the message handler to request the business layer execute the appropriate logic.
Castor的当前beta测试版(我写这篇文章时,该版本为0.9.4.1)不支持在代码生成中进行任何实质的定制,但这种情况有望得到改变。
The current beta release of Castor (0.9.4.1 as of my writing this) doesn't support any substantial customizations in the code generation, but that's changing.
我所做的一切就是写代码和编程。
我主要用它们来编译和测试我在其他系统上写的代码,同时也可以方便地在不同的主机环境下运行客户端和服务器。
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.
我之所以提到这个是因为久而久之,当你自己写代码而不是读代码时,这会变得非常重要。
Now I mention this only because over time, this will become important when you're not reading in files necessarily but writing files.
但是当我在写代码的时候,整洁的代码不是我最重要的目标,它从来不能取代我最重要的目标——使程序运行起来。
But when I'm coding, clean code is my secondary goal and it could never take the place of my primary goal: making it work.
并且,我发现使用这些框架需要我去写一些困难和复杂但不必要的代码来完成这些转换。
Also, I find these frameworks challenging me to write difficult and needlessly complex code to perform the transformation.
当我们开始写代码的时候,你就会看到区别了,但是现在别担心,我只是想让你们初步有个印象。
When we start writing code, you're going to see that difference, but for now, don't worry about it, I just want to plant that idea.
我将为每个LINQ操作符写一篇博文,其中将包含几乎所有的成品代码,不过测试代码的话我只会把有趣的部分贴出来。
I will write up a blog entry for each LINQ operator, probably including all of the production code but only "interesting" tests.
就我所知,这是所有当中最好的——我喜欢面向对象的好处,因为它可以忽略清除。但是我并不喜欢要从头到尾写面向对象的代码的规定。
As far as I'm concerned, this is the best of all possible worlds — I like the oo goodness of being able to ignore cleanup, but I don't like the discipline of writing oo code straight through.
当您对SQL标准语法感到得心应手的时候,我相信您将从DB2的表达能力中发现价值,虽然这意味着要多写几行代码。
Once you get comfortable with the SQL standard syntax, I'm confident you will find value in DB2's expressiveness, even if it means typing a few more lines.
我的意思是,我们可以写一些方法,它们包含做很多事的代码。
I mean, we might have written methods that have many lines of code for doing multiple things.
我现在31岁,但这个月再过几天我要32岁了(但我写该代码时,是3月份),我的算法造成错误的结果。
I'm currently 31, but I'll be 32 later this month (as I wrote this code, it was March) and my algorithm gives me the wrong result.
当我在读本科的时候,我写的最大的程序是500行可执行代码。
When I was an undergraduate, the largest program I wrote was about 500 lines of executable code.
因此,当我去解决这些问题,我倾向于写代码,可以重复打补丁。
Thus, when I did fix them, I tended to write code to allow me to repeat that fix.
我从未想过有人愿意在尖括号中写代码。
I never imagined that anybody would want to write in anchor brackets.
学生写的代码里面有很多错误我应该早就指出来,如果我开始就进行复审(听起来耳熟吧?)
There were a number of bugs in the student's code that I'd have caught much earlier if I'd been reviewing it (sound familiar?)
应用推荐