When a method is called only once by another method, and it makes more sense as a block of code.
当一个方法只被另一个方法调用一次,并且作为一个代码块更有意义时。
Don't hesitate to go with the slightly less clean looking code if that code makes more sense from a correctness and performance point of view.
如果那些稍微比较不整洁的代码从正确性和执行来讲更有意义,我们也要毫不犹豫的去选择它们。
This is using someone else's code in the truest sense: you're even letting the third party host the code your application USES.
这就是使用他人的代码的最真实的感觉:甚至可以让第三方来存放您的应用程序所使用的代码。
We don't code methods that we think might be needed later or columns in a database because it makes sense at the time.
我们不会为那些我们认为将来可能会用到的方法或数据库列来写代码,因为这在当时不是问题。
Concurrency, in the sense of running code in parallel, isn't actually that hard to do.
并发程序,从代码并行运行的意义上讲,并不难做到。
What makes Construction phase iterations special, then, is the marked sense of progress implicit in each analyze-design-code-test cycle that is brought to completion every few weeks.
在几个星期内,我们就会完成一个分析——设计——编码——测试的周期,这个给我们一种明显进展的感觉。这就是构建阶段的迭代的独特之处。
This also, by the way, in some sense, gives me the beginnings of my comments for what the structure of my code is going to be.
顺便说一句,在某种意义上这也是我,对于我的代码结构的,讲解的开始。
In some sense, the use-case model lets us make the link between the high-level business function and the low-level code that implement these functions.
在某种意义上,用例模型让我们链接了高层业务功能和实现这些功能的低层代码。
Compare this code with the XML above, and you should be able to get a good sense of how the API operates.
通过将此代码与上面的XML进行比较,您应当能够很好地理解API的操作方式。
He USES the word hacking in its traditional, noble sense within computing circles, to refer to building or tinkering with code, rather than breaking into websites.
他认为黑客行为指的是建立或修补密码,而不是入侵网络,并将“黑客行为”这个词组归于“计算机处理”这一传统而宏伟的概念中。
To produce code that runs faster and is easy to maintain, it makes far more sense to use a hash table that stores the command-line options, then USES the hash to validate the user-specified input.
为了生成运行更加快捷并易于维护的代码,使用散列表存储命令行选项并使用散列验证用户指定的输入,这种方法非常有帮助。
This made sense when all future development was meant to use .NET, but when that plan changed and native code regained its position as the preferred development environment, it was a big problem.
计划之初,所有的开发都打算用.NET进行,但是渐渐计划成变化,原生代码还是成了首选的开发环境。这的确是个很大的问题。
"You want to maintain an environment where your employees have some sense of a code of conduct or integrity," he says.
“你应该维持让雇员们有着行为准则感和正直感的环境,”他说道。
Target creation is a little involved — it requires its own code listing and explanation to make sense.
目标创建有点复杂,它需要专门的代码清单和说明。
The effort involved would be tedious enough to make more sense to keep the presentation code out of a stored procedure, and in the application.
将需要大量工作以使表示代码不在存储过程中,而在应用程序中。
In an article about a database technology, it makes sense to start with the database code. First, let's define a simple table schema to store our contacts in.
对于一篇有关数据库技术的文章,应当首先从数据库代码开始讨论。
Now that you understand this fundamental concept, the lengthy VU code generated in the Rational Robot script undoubtedly makes more sense.
既然你明白了这个基本概念,RationalRobot脚本中产生的冗长的VU代码勿庸置疑是有意义的。
Although it often makes sense to drop down to SAX code or use a tool like DTDParser (see Resources), or even handle transformations yourself, you need JAXP in your Arsenal of APIs and tools.
虽然追溯到SAX代码、使用类似DTDParser(参阅参考资料)的工具或甚至自己处理转换,这些都是有意义的,但在API和工具的仓库中您需要JAXP。
There's no sense calling the USPS web service with a invalid ZIP code.
使用无效的邮政区码调用USPSWeb services没有任何意义。
This makes sense, given that operating system and application code and constant data are identical among VMs.
假如操作系统和应用程序代码以及常量数据在VMs之间相同,那么这个特点就很有用。
Any GPU device has a device driver, so targeting it makes more sense than generating CUDA or OpenCL code which would require from users to install other SDKs.
所有GPU设备都有设备驱动,因此针对它来编程更合理,这样会比生成CUDA或者OpenGL的代码更好,因为那还需要用户安装其它的SDK。
Another consequence of erasure is that using casts or instanceof with generic type parameters doesn't make any sense. The following code will not improve the type safety of your code at all.
擦除的另一个后果是,对泛型类型参数是用强制类型转换或者instance of毫无意义。
In earlier versions (such as Visual Studio.net 2002, where we rewrote everything) that made sense because the code really didn't come together until that time.
在早期的版本中,(例如重写了所有东西的Visual Studio . NET 2002),这样做就是比较有效的,因为那个时候代码没有集合在一起。
It slows down the next programmer in the code, as they have to think instead of just flowing through the conditional, if that makes sense.
这会减慢未来程序员使用这段代码,因为他必须去思考这段代码如何讲的通,而不是顺着条件去看。
That makes sense; if you want to find out exactly what each line of code does, the best thing to do is read the code.
这的确是有意义的;如果您希望确定每行代码究竟执行了哪些操作,最好的方法就是阅读代码。
If you have modified the code, it makes sense to go back to step one and run the code Review tool again to ensure that you have not introduced a new issue, and then proceed through the workflow again.
如果你已经修改了代码,回到第一步并再次运行代码复查工具以保证你没有引入新的错误,然后再按工作流程再进行一遍是很有意义的。
This makes sense, particularly in server-side applications, as the same server code is normally executed repeatedly.
这对于服务器端应用程序尤其有意义,因为通常会重复执行相同的服务器代码。
Code reviews may not make a lot of sense unless you have standards in place to measure them against.
除非设立了相应的标准对其进行度量,否则代码检查可能无法起到很大作用。
In a sense, substitution matrices code up chemical properties.
在某种意义上,替换矩阵是对化学属性的编码。
In a sense, substitution matrices code up chemical properties.
在某种意义上,替换矩阵是对化学属性的编码。
应用推荐