These are just a few examples of how we can use namespaces to enhance our code.
还有许多例子可以演示如何使用名称空间增强代码。
With HTTPD installed and ready, we need to create a Zero project to hold our code.
安装并准备好httpd之后,需要创建一个Zero项目来存放代码。
Could you please advise on what is the best choice, what makes our code more reusable?
请您给出建议,哪个选择是最好的?哪个能使我们的代码有更好的复用性?
And this starts to make our code more readable, more elegant, just a little more compact.
这个使我们的代码变得更易读,更优雅,更简洁紧凑一点。
It answers an important question: "How much of our code is being exercised when we test?"
代码覆盖率回答了一个更要的问题:“在测试时,我们的代码有多少被执行到了?”
We got so excited about Cucumber that the RubyMine team even USES it to test our code now.
我们非常高兴RubyMine团队能够使用Cucumber来测试我们的代码。
The first item that we require is a plug-in project where our code and extension will reside.
我们需要的第一个条目是一个插件项目,我们的代码和扩展将放在这个插件项目中。
As a useful side-effect, it also provides us with unit testing and documentation of our code.
作为一个有用的副作用,它还能为我们带来代码的单元测试和说明文档。
It is the most important element in our presentation, and nearly 50% of our code deals with DIV objects.
它是我们的演示中最重要的元素,几乎有50%的代码都是处理DIV对象的。
However, without DB2 II, the data's location is not transparent to the developer, as our code demonstrates.
但是,正如我们的代码所演示的那样,在不使用DB 2II的情况下,数据的位置对开发人员来说不是透明的。
Having HTTPD installed as a service will allow us to start and stop the server asynchronously from our code.
安装httpd作为服务将允许我们从代码中异步启动和停止服务器。
However, there is one tricky step: For our code to run, it also needs code from the standard Scala library.
但是,此外还有一个较复杂的步骤:要让代码运行,还需要来自标准scala库中的代码。
Externalizing the database name makes it easier for a consumer to change it without hunting through our code.
具体化数据库名称会让用户更容易对之进行更改,而无需在整个代码中搜寻。
We've avoided this extra level of complexity and kept our code much cleaner by simply allowing exceptions to be thrown.
通过允许抛出异常,我们已避免了这种杂乱所产生的额外复杂性,并使代码保持更“整洁”。
Using global forwards, we protect our code from changes to the URI as long as the logic reference name remains constant.
通过使用全局转发,只要逻辑引用名不变,我们就不必因为URI有所变动而修改我们的代码。
Let's use that to write our code for filling our order and ID variables, and for printing some information to the log.
我们将使用此编辑器来编写代码,以填充订单和ID变量,并将一些信息输出到日志中。
With our code samples, we've also given you enough to get started writing your own applications using these Google code APIs.
这个代码示例为使用这些GoogleCodeAPI编写自己的应用程序提供了足够的参考。
With this property in place, we can change our code so that instead of Manager.create("blog") we use Manager.create(app.blog.dbKey).
有了这个属性之后,我们就可以更改代码以使用 Manager.create(app.blog.dbKey)而非 Manager.create("blog")。
As soon as we checked in our code, the repository would automatically build all of the applications and run the unit tests against them.
在我们签入我们代码的同时,软件仓库会自动构建所有的应用程序,然后对它们运行单元测试。
The Model-View-Controller pattern taught us to effectively partition our code along a well-defined boundary between the user interface and model.
模型-视图-控制器(Model - View - Controller)模式指导我们有效地分割代码,在用户接口和模型之间定义一个良好的边界。
Notice what our code has so far: first, our Account class isn't a bean (it essentially has a getter -- but no setter -- for its one data member).
注意一下目前我们的代码有哪些东西:首先,我们的Account类不是一个bean (实际上,对于它的一个数据成员它有一个getter方法――但是没有setter 方法)。
Applying these patterns in XDE will generate the bulk of our code, so most of the code that implements the framework will be untouched by human hands.
在XDE中应用这些模式将会产生大量代码。所以,实现这个框架的大多数代码不需要人工介入。
As the name suggests, the new file in step three is the JET template where we will put our code-generation logic for model objects EOperationImpl.
由名称可以看出,第3步中的新文件是一个JET模板,我们将在其中加入模型对象EOperationImpl的代码生成逻辑。
The job of that intermediary object is to locate an appropriate implementation so that our code does not have to perform the discovery operation itself.
该中间对象的任务就是定位恰当的实现,以使代码不必自己进行发现操作。
Let's put it this way: I can be away from our code base for a month and with the unit tests and the well factored code, i can find whats going on in minutes.
让我们换个说法:我可以一个月不去看代码库,只要有单元测试和构造良好的代码,在几分钟之内我就能够了解现在的进展。
A big chunk of our code was doing things that are very hard to do in other languages. The resulting software did things our competitors' software couldn't do.
我们代码里的一大块是在做其它语言很难做到的事情,发布的软件做了很多竞争对手的软件没法做到的事情。
A good design lets us change our code easily as we find out more about the business processes, giving us multiple options for providing the value that the UI needs.
好的设计可以在我们更深入理解业务流程时,简化代码修改,并为创建UI需要的价值提供更多的选择。
So, at this point we know how to connect to a JNDI service and acquire a connection from different JNDI and JMS implementations without having to recompile our code.
那么,至此我们已经知道如何连接到JNDI服务以及如何从不同的 JNDI和JMS实现获取连接而不必重编译我们的代码。
As we are constantly refactoring our code to fix compatibility issues or try better performing ways, we also experience that ABAP tools lack support for refactoring.
在我们在不断重构我们的代码来解决兼容性问题,并尝试效率更高的方式的时候,我们也发现ABAP工具缺乏对重构的支持。
应用推荐