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引起的,修复起来非常容易。
AOP modularizes crosscutting concerns, so I should look for crosscutting concerns in my code.
AOP模块化了横切关注点,因此我要在代码中寻找横切关注点。
Therefore, I will seek the best support I can find in helping me find the mistakes in my code.
因此,我必须寻求我所能找到的最好的支持,来帮我在我的代码内找到错误。
I used one unsupported list comprehension in my code, which I had to unroll into a regular for loop.
在代码中,我使用了一个不支持的列表,将其放入一个普通的for循环。
AOP modularizes crosscutting concerns, so I should look for code that is scattered and tangled in my code.
AOP模块化横切关注点。因此应该寻找那些分散和纠缠在代码中的代码。
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。
The phenomenon is easily noticeable even on a low-resolution television set; I don't want you reporting this as a bug in my code, because it isn't!
即使在低分辨率的电视机上,这种现象也很容易注意到;我不希望您将这个问题报告为我代码的一个bug,因为这根本不是我的bug !
When I refer to a type in my code, the compiler needs to ensure that the type is defined and that my code accesses the type in the correct way.
当我在代码里引用某个类型时,编译器需要得到这个类型的定义并且保证我的代码可以正确访问这个类型。
In my code the evaluation is performed by each AST node itself, but we may use also a tree walker to walk each node and execute it based on its type.
在我的代码中,计算由每个AST结点自己执行,但我们可能也将使用一个树遍历器来遍历每个结点,基于它的类型来执行。
I will refer to the directory in my code examples as ext to prevent inconsistency between versions (see Downloads to access the source code for the examples in this article).
我在代码示例中使用ext作为路径名来防止版本冲突(参阅下载,访问本文示例源代码)。
For instance, I often put important global values in attributes on my root element. To make these values globally available in my code, I store them in top-level variables before using them.
举例来说,我通常会在根元素的属性中包含重要的全局值。
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.
你好。我的名字是马修·穆伦韦格。我是一个出生并成长于得克萨斯州休斯顿的孩子。我写代码、散文和音乐。我也拍过一些照片。
In my opinion, when you write code, you are no longer only a QA analysts who does test automation.
我认为,当您编写代码时,您已经不再仅仅是一位处理测试自动化的qa分析员。
Such explorations have motivated me to think about ways in which my code base might be organized to anticipate future growth.
此类研究推动我思考如何组织我的代码库以及使其预期在未来能不断增长。
In strong code ownership, there's my code and your code. I can't change your code.
在强代码所有权中,严格区分我的代码和你的代码,我不能改动你的代码。
Unfortunately, the abstraction is leaky: in my ZIP code validator, for example, I would have liked to use regular expressions to perform the check.
不幸的是,抽象是有漏洞的:例如,在我的ZIP代码验证器中,本想使用正则表达式执行检测。
Earlier in my career, many believed that if you weren't writing new code, you weren't being productive.
在我早期的工作生涯中,许多人都认为如果不编写新的代码就不会有好的效率。
In my opinion, code has no place in configuration files anyway, and allowing users to execute arbitrary code is a bad idea.
在我看来,配置文件中无论如何都不应该存在代码,并且允许用户执行任意代码是个坏主意。
In writing this code, my goal has been to illustrate general programming concepts, and I've tailored the code around these concepts.
在编写这些代码时,我的目的是说明常规编程概念,并围绕这些概念来剪裁代码。
And in my experience, my code is much simpler when tests drive it, and I'm always in the market for greater simplicity.
根据我的经验,在测试推动代码时,我的代码就会简单得多,而且我一直在设法使它们更为简单。
I am rugged because my code can face these challenges and persist in spite of them.
我很坚固,因为我的代码能够面对这些挑战,并不受它们的影响而继续运行。
I consistently find that the code in Listing 7 executes in 4.91 seconds on my configuration.
清单7中的代码在我的配置上的执行时间是总是4.91秒。
Hiding the BCEL details in my wrapper also gave me convenient places to add more functionality, as in the class and method comparison code.
把BCEL细节隐藏在包装器中,也提供了方便地添加更多功能的位置,就像在类和方法比较代码中一样。
I recognize that my code will be used in ways I cannot anticipate, in ways it was not designed, and for longer than it was ever intended.
我知道我的代码会以我没有预期到的方式使用,会以与其当初设计目标不同的方式使用,使用期限也会超出最初预期。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
Ah, that's because I changed my code to add 1 and the number in the constructor.
那是因为我将代码改为在构造函数中添加1和数字本身。
With weak code ownership, there's my code and your code, but it is accepted that I could go in and change your code.
弱代码所有权中,还是会区分代码的所有者,不同的是它允许开发者改动其他人的代码。
Note that my DAOs aren't tied to Hibernate Shards in code, but by configuration.
请注意,我的dao与hibernateShards在代码方面并没有绑定,而是通过配置进行了绑定。
应用推荐