使用固定的游戏速度和最大的FPS是一个容易实现而且代码简洁的解决方案。
Using a constant game speed with a maximum FPS is a solution that is easy to implement and keeps the game code simple.
第一个是头文件,它声明库导出的所有函数,而且代码中的客户机包括这些函数。
The first is a header file, which declares all the functions exported by the library and will be included by the client in the code.
它们的内存占用只是以前的三分之一到四分之一,而且代码比起Rails来也更少了。
They take up about a third to a quarter as much memory as they used to, and the code base is smaller than it was in Rails.
劣质的API不但会带来更多的编码,而且代码结构也会更加复杂,潜藏bug的地方也就越多。
Poor APIs often require not only extra code, but also more complex code that provides more places where bugs can hide.
不幸的是,您必须每次都要在页面上运行jQuery,而且代码必须要手动执行,这显然很不方便。
Unfortunately, you have to run jQuery on the page every time and the code has to be executed manually which is not very convenient.
在我有限的测试中,我更喜欢PHPIDE项目插件,因为我感觉它集成得更好,而且代码智能特性的性能似乎更快捷。
In my limited testing, I preferred the PHP IDE Project plug-in because it felt better integrated to me, and the performance of the code intelligence features seemed snappier.
但是进入这个程序的代码花费了120美元——这对哈珀来说是一笔大数目,因为他已经付了450美元的课本费,而且马上就要交房租了。
But the code to access the program cost $120—a big sum for Harper, who had already put down $450 for textbooks, and had rent day approaching.
获得进入这个程序的代码花费了120美元——这对哈珀来说是一笔大数目,因为她已经付了450美元的课本费,而且马上就要交房租了。
The code to access the program cost $120—a big sum for Harper, who had already put down $450 for textbooks, and had rent day approaching.
在构建模型期间,将不会发现这些错误,而且生成的代码将无法编译。
These errors would not be caught during model build, and the generated code would not compile.
元编程十分强大,但是使用它需要经验,而且会导致代码变得难以理解,维护和调试。
While metaprogramming is powerful, using it well takes experience and the resulting code tends to be hard to understand, maintain, and debug.
GWT开发文档提示说必须慎重使用JSNI,因为不能保证浏览器的可移植性,而且编译代码的优化是有限制的。
The GWT development documentation warns that JSNI must be used with discretion because browser portability isn't guaranteed, and the compiled code optimization is restrictive.
当页面发布的时候,调试器应当打开而且可以跟踪代码(假定至少设置了一个断点)。
When the page is being published, the debugger should open and you can step through the code (assuming you enabled at least one breakpoint).
这些代码很容易记住,而且您能够即时了解可以做些什么。
The codes are easy to remember and give you an instant understanding of what is permitted.
如果应用程序使用了很多库,而且已链接所有代码,那么应用程序会变得大得惊人。
If an application were to use a lot of libraries, and all code were linked in, the size of the application would become prohibitive.
如果就绪状态为4,我们不仅要运行回调函数中的代码,而且还要在每次调用回调函数时都输出就绪状态。
Instead of only running code in your callback if the ready state is 4, just output the ready state every time that your callback is called.
核心代码很干净而且容易扩展,用户界面也非常容易使用。
The core code is clean and easy to extend, and the user interface is very easy to use.
你所选择的语言,你应该觉得“舒服”,并且能够写出有效(而且简洁)的代码。最重要的,让语言去适应项目,反之亦然。
The language you choose should provide you with a suitable "comfort" level, the ability to produce efficient (and clean) code, and, above all, allow the language to suit the project and vice-versa.
不应当基于被设置的这些选项来开发任何新代码,而且可能的话,您应当寻求方法来重构您的现有代码,避免使用它们。
Any new code should not be developed depending on these options being set, and you should look for ways to refactor your existing code away from using them if possible.
得到代码后,我们就有了新解决方案,而且有时得到的代码会让你对其它问题产生新的灵感。
When we get code, we get new solutions, and sometime you get code that gives new insight to other problems.
如果测试不充分,就会危及代码的质量,而且往往会延迟交付时间。
If you don't test enough, you'll compromise your code quality and often even slow down your delivery time.
通过创建可重用的宏,可以避免重复输入相同的代码段;这不但可以避免重复,而且可以减少代码量,从而提高代码的可读性。
Instead of typing the same piece of code again and again, you can create reusable macros that both avoid this repetition and enhance the look and readability of the code by reducing clutter.
编译器运行的次数很难预测,JVM按照自己的想法从解释代码切换到编译代码,而且在运行期间,相同的代码路径可能编译、重新编译不止一次。
The compiler runs at less predictable times, the JVM switches from interpreted to compiled code at will, and the same code path may be compiled and recompiled more than once during a run.
而且该代码还将遍历逗号分隔的列表,找到第一个匹配项并提取概要。
The code looks through the comma-separated list, finds the first match, and extracts the profile.
但是开发能更改页面的代码很简单,而且还可以对代码进行测试直到它能很好地工作为止。
But developing the line of code that changes the page is simple, and variations of the code can be tested until it works perfectly.
所有代码都必须测试,而且理想情况下应该在编写代码之前编写测试。
All code must be tested, and ideally the tests should be written before the model code is.
处理那种情况并不难,而且添加代码不会花很多时间,但是我们不会做现在不需要做的事情。
It's not hard to handle that situation, and adding the code won't take long, but we'll resist the urge to do more than we have to for right now.
这并没有给您带来太多好处—因为大部分代码都位于html视图中,而且仍然需要视图代码。
This doesn't gain you much-most of the code is in the HTML views and view code is still required.
该代码不仅更短,而且也更容易理解和高效。
This code is not only shorter but it's also easier to understand and more efficient.
结合使用GWT元素不仅可以简化服务器端代码,而且创建的初始页面更小,下载和呈现的速度更快。
Mixing GWT elements will not only simplify the server-side code, it will create smaller initial pages, with faster downloads and rendering.
重写离岸团队交付的大量代码,而且不要跟他们交流。
Re-write a significant part of code delivered by the offshore team with out any communication.
应用推荐