I was inspired by a book, Dan Brown's "The Da Vinci Code".
我是从一本书里得到了灵感,是丹·布朗的《达芬奇密码》。
When I code at school, I do it because of my interest.
当我是在学校中写代码时,我是出于我对写代码的兴趣来做这些事的。
But when I code in the company, I should take my responsibility.
但是,当我是在公司写代码时,我应该负起我的责任。
One of the top 10 questions is: "Does the order in which I code my predicates matter?"
最常见的10 个问题之一是:“谓词顺序重要吗?”
The Apple I was given out freely, hardware and firmware, so there are cheap Apple I code you can buy. Apple doesn't own that.
不过苹果i型的程序是公开的,不管是硬件还是固件,所以你可以买苹果i型的解释程序,很便宜的,苹果公司不拥有代码。
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.
我想写一小段代码来做平面几何。
I expect them to have 100% coverage in all of their application code.
我希望在他们所有的应用程序代码中有100%的覆盖率。
I was pleasantly surprised how I could achieve this type of dynamic mapping with so little code.
我惊喜地发现,我可以用很少的代码实现这种类型的动态映射。
In this case, I rotate the line around the center of the movie with the code shown below.
在本例中,我用下面所示的代码使这条直线围绕动画的中心旋转。
If I want to validate this code in a white box manner, I have to separate UI-specific code from business code, which requires some refactoring.
如果我想以白盒方式验证这段代码,就必须将特定于用户界面的代码与业务代码分开,这就需要进行重构。
我该把代码检入到哪里?
So where do I check in code that I believe is done, but need to verify before checking in to the trunk?
那我应该向何处检入我认为已经完成、但是在检入主干前需要进行验证的代码呢?
我编写代码。
What if I still get code generation problems?
如果还有代码生成问题怎么办?
Because this is development code, I use lots of debug statements.
由于这是开发代码,因此使用了许多调试语句。
Since I always indent my code, I don't have a problem with this.
由于我总是缩进我的代码,所以我没遇到这样的问题。
我喜欢写代码。
Now, how can I use code that someone else wrote?
那么,我们怎样才能用别人写的代码呢?
For the performance tests I'll cover in Part 2, I generated code using each of these data binding frameworks.
对于将在第2部分中讨论的性能测试,我用每一种数据绑定框架来生成代码。
I was writing code again, not running convoys.
我又开始写代码,而不是运营护送队。
那我什么时候能不写代码了?
When I wrote this code, I messed this trivial method up twice.
在编写代码时,我两次都弄错了这个简单的方法。
Finally, what code did I write?
最后,我都写了些什么代码呢?
When I look at the code now I see how bad this decision was...
当我看了代码之后我发现这是多么错误的一个决定……
I like to modularize my code, so I allow separate controllers for different parts of the application.
我要对我的代码进行模块化,这样就可以有单独的控制器来处理应用的不同部分了。
Then I pasted this code into a JSP skeleton I created.
然后,我将这些代码传递到我创建的一个JSP框架中。
After I finally found the correct code, I was trying to remember what I wanted to do with it.
在我终于找到正确的代码之后,又得努力回忆我要在这做什么。
The sample code I have provided makes a direct connection to DB2.
我提供的示例代码建立一个到DB2 的直接连接。
Throughout the article, I provided sample code to illustrate concepts.
在本文中,我通过示例代码解释了概念。
应用推荐