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 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?
那我应该向何处检入我认为已经完成、但是在检入主干前需要进行验证的代码呢?
我喜欢写代码。
Writing tests before I write code has revolutionized my life as a programmer, and it can do the same for you.
在编写代码前编写测试极大地改变了我作为程序员的生活,它同样也可以改变您的生活。
In Part 5, I discuss code completion and content assist, including how they work and how they access the PDOM index.
在第5部分中,我将探讨代码完成及内容协助,包括二者如何工作以及如何访问PDOM索引。
I usually work by making small changes to the code and then testing the new code before I move on.
我的工作通常是在向前进展之前,在核心组件做一个小的变化然后测试新的代码。
For the performance tests I'll cover in Part 2, I generated code using each of these data binding frameworks.
对于将在第2部分中讨论的性能测试,我用每一种数据绑定框架来生成代码。
I always used green paper, and recorded each game pitch by pitch, using an elaborate code I made up.
我总是使用绿纸,按照我精心编制的代码,把每场比赛每次投球一笔一笔全都记录下来。
The longer I think about this, the less I care about code hygiene issues (laughs).
我对此思考得越多,就越少关心所谓代码保健问题(笑)。
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.
在我终于找到正确的代码之后,又得努力回忆我要在这做什么。
I can't integrate any code with failing unit tests.
如果单元测试失败,我就无法整合任何代码。
With a mere five lines of code, I have a workable testing stub.
只使用了五行代码,我就有了一个可工作的存根。
Now, back to what I promised, making your code rock-solid.
现在,回到我所承诺的问题上,使您的代码健壮起来。
The example code I mentioned above is for a command-line driven searchable recipe database.
我上面提到的示例代码就是一个命令行驱动的搜索菜谱的数据库。
Throughout the article, I provided sample code to illustrate concepts.
在本文中,我通过示例代码解释了概念。
Everything inside of the curly braces is the code I am writing.
所有在大括号里面的代码都由我们自己编写。
For this and the next installment, I tackle code reuse via refactoring and the attendant abstraction impact.
为此,在本文与此后的文章,我将通过重构以及随之而来的抽象影响来处理代码重用问题。
The code I touched during that work relates mostly to device drivers to support the framework.
我在工作中所接触的代码只与支持框架的设备驱动有关。
The following describes my thinking, how I implemented the code, and what the code looks like.
下面介绍了我的思想,我如何实现代码,以及代码的样子。
In strong code ownership, there's my code and your code. I can't change your code.
在强代码所有权中,严格区分我的代码和你的代码,我不能改动你的代码。
Ah, that's because I changed my code to add 1 and the number in the constructor.
那是因为我将代码改为在构造函数中添加1和数字本身。
That was certainly my experience when I was writing code to parse HTML pages.
那的确是我在编写代码以解析HTML页面时的经验。
I wanted my code to be short and maintainable since I would probably be adding additional features to it later on.
我试图使代码短小并具可维护性,因为稍后我还要加入一些其他特性。
应用推荐