If my code is correct, what should the average price be?
如果我的代码没写错的话,平均价格应该是多少?
我该把代码检入到哪里?
Somebody must have changed my code.
一定有人改了我的代码。
中间是代码。
所以这里是我的代码。
I'll treat it as a Boolean in my code.
在编码时我会把它做为一个布尔值。
I will start writing articles on how to put my code into use.
我将开始写点文章介绍如何使用我的代码。
Since I always indent my code, I don't have a problem with this.
由于我总是缩进我的代码,所以我没遇到这样的问题。
If I were just going to change a method name in my code, I'd just do it.
如果我想要改变我的代码中某个方法的名称,改就好了。
Here the exception was a result of a bug in my code, which was easy to fix.
这里的异常是因我的代码中的一个bug引起的,修复起来非常容易。
A graduate developer, Jerry, asked me, "How will I know that my code works?"
一个刚毕业的开发人员,Jerry,问我:“我怎么才能知道我的代码是正确的?”
In strong code ownership, there's my code and your code. I can't change your code.
在强代码所有权中,严格区分我的代码和你的代码,我不能改动你的代码。
The assertion works fine, and has the bonus that it doesn't cause my code to crash.
断言工作的很正常,也不会导致我得代码崩溃。
Many times I found bugs when trying to explain what my code is doing to a reviewer.
我好几次都是在跟检视者解释程序码时发现错误。
Note that I have used the Eclipse development environment for all my code examples.
注意我对所有代码例子使用了Eclipse开发环境。
Up until then, I had been refactoring my code (and even other's code) without knowing it.
在此之前,我一直都在重构我的代码(或者其他人的代码),但是却不知道自己做的就是重构。
The count in Table 1 has been approximated somewhat since I experimented a bit with my code.
由于我对代码进行了一些实验,表1中的计数是近似的。
Download my code at bottom of the article for loading the Type 4 JDBC driver for SQL Server.
下载本文底部的我的代码,用于加载用于SQLServer的Type4JDBC驱动程序。
AOP modularizes crosscutting concerns, so I should look for crosscutting concerns in my code.
AOP模块化了横切关注点,因此我要在代码中寻找横切关注点。
Since I've captured early requirements in the form of test cases, I can easily refactor my code.
由于我已经通过测试用例捕获了早期需求,我可以轻松地对代码进行重构。
I like to modularize my code, so I allow separate controllers for different parts of the application.
我要对我的代码进行模块化,这样就可以有单独的控制器来处理应用的不同部分了。
The complexity of my code would increase greatly, which is obviously detrimental to the final product.
代码的复杂性将会大大提高,很明显,这会损害最终的产品。
Simply having the discipline to think about how to test my code before writing it makes it better.
只要记住这条规程—在编写代码之前考虑如何测试代码—就可以使代码变得更好。
When I learn design patterns and apply them as part of my design process, it makes my code more robust.
当我学习设计模式并将它们作为我设计过程中的一部分时,它使我的代码更优秀。
AOP modularizes crosscutting concerns, so I should look for code that is scattered and tangled in my code.
AOP模块化横切关注点。因此应该寻找那些分散和纠缠在代码中的代码。
There may be some better coding tricks to shorten this a bit, but I like to keep my code somewhat readable.
也许有一些更好的编码技巧来将代码缩短一点,但我喜欢让我的代码保持相当的可读性。
The small steps also let me keep up with my code coverage as I develop, and build a richer specification.
这些步骤还能使我在开发期间跟踪代码覆盖情况,从而构建更加丰富的规范。
In my code journeys and programming adventures I've encountered many strange foes, and even stranger Allies.
在我的编程生涯中我碰到过很多奇奇怪怪的对手和同盟。
I use the EJB 3.0 specification in my code examples; the concepts are the same for the Spring Framework and JOTM.
我在代码示例中使用EJB 3.0规范;同样的概念也适用于SpringFramework和JOTM。
I wanted my code to be short and maintainable since I would probably be adding additional features to it later on.
我试图使代码短小并具可维护性,因为稍后我还要加入一些其他特性。
应用推荐