第二条需求表达了系统应该做什么,但仍在较高的级别上;它仍然太宽泛,不能直接翻译成代码。
The second expresses what the system should do, but still at a pretty high level; it's still too broad to translate directly into code.
第三条是低级别的需求;它确实为软件必须完成的功能提供了足够的细节,使你能写成代码。
The third is a lower-level requirement; it does provide enough detail about what the software must do to enable you to write code.
目前由- 99999这个通用错误代码定义的错误代码大约有2000条。
There are approximately 2000 generic error codes defined with the -99999 generic error code.
许多人所提倡的一条经验法则是,类的代码行超过1,000行就可以说该类太长了。
A rule of thumb advocated by many is that a class with more than 1,000 lines of code is too big.
我们拥有超过400条CQL原则,这些原则能够帮助我们持续不变地关注代码质量。
We have more than 400 CQL rules that permanently care for the quality of our code.
首先,不应该假定上述赋值语句一定会被编译成一条机器指令,除非亲自验证了机器代码。
First, you shouldn't assume that the above assignment would be compiled as a single machine instruction unless you personally verify the machine code yourself.
向一个sqs队列写一条消息需要三行代码。
Writing a message to an SQS queue takes three lines of code.
清单32中的代码显示一个LZX应用程序,该应用程序使用一个垂直滚动条和一个水平滚动条。
The code in Listing 32 shows an LZX application that USES one vertical scrollbar and one horizontal scrollbar.
我们的代码将收集关于警报的信息并将一条SNMP陷阱发送到一个SNMPManager。
Our code will gather information about the alerts and send an SNMP trap to an SNMP Manager.
此更改向该过程引入了一些容错和故障转移功能,因为该代码现在具有两条可获得InitialContext对象的路径。
This change introduces some fault tolerance and failover to the process as the code now has two paths from which the InitialContext object can be obtained.
c 中的样例代码会在屏幕上画几个彩色的条,以及几行多种颜色的文本,还会在控制台上打印一些可能有用的调试信息。
The demo code in main.c draws a few colorbars onscreen, as well as a few lines of multicolor text, and prints some potentially interesting debugging information to the console.
这个代码应当创建一条新路线,该路线有一个所有属性都为null 的Trail对象。
That code would have created a new trail with a Trail object with nulls for all attributes.
IRAD包含了超过200条规则,这些规则被组织并分成一些代码复查配置,这些配置包括。
Out-of-the-box, IRAD comes with over 200 rules that are organized and sorted into a number of code review configurations. The configurations include.
如果这个程序中一条操作码出现了多次,请尝试在dump文件中寻找处理程序代码所打印的序列。
If the program has more than one occurrence of the opcode, try to find the sequence printed by the handler code in the dump file.
测试覆盖工具旨在修改代码,使之在执行期间留下一条“面包屑”踪迹(这也是我在这一期关注的工具的名称由来)。
Test coverage tools modify your code to leave behind a trail of "bread crumbs" during execution (hence the names of the tools I'm targeting in this column).
我们已经在头文件cs50,h中包含进去了,但这只是为我们调用源代码,提供了一条通道。
H but that only gives me access in the source code to actually using it by name.
new_rec是页面代码bean的一个属性,代表一条SDO记录,而PHOTO 是映射到表中 PHOTO 列 (BLOB) 的 SDO对象的一个属性。
new_rec is a property of page code bean that represents an SDO record, while PHOTO is a property of the SDO object that mapped to the PHOTO column(BLOB) of our table.
NDepend支持超过60条编码准则,用于评估代码质量。
NDepend supports more than 60 code metrics that can be used to assess the code quality.
应用程序可以运行上百条不同的sql语句;如果其中只有一条的代码不正确或未调至最优,那可能会影响整个系统的性能。
An application can run hundreds of different SQL statements; if only one of them is incorrectly coded or not tuned to its best, the entire system's performance can be impacted.
你甚至还可以会前给非注册的用户,他们收到一条含代码的短信,这一代码就可以作为取钱的凭证。
You can even send money to people who are not registered users; they receive a text message with a code that can be redeemed for cash.
该变量包含最近执行的一条 SQL语句的错误代码。
This variable contains the error code of the latest SQL statement executed.
要添加一条记录定义,将光标移到编辑器的最后一行代码上。
To add a record definition, place the cursor on the last line of code in the editor.
为了达到透明,你需要确保与接收代码的客户之间保持一条清晰的通信线路。
In order to be transparent, you need to make sure that you have a clear line of communication with the clients receiving your code.
这是个有挑战性的工作,因为程序员必须一条条理解规范,写出的代码才能够遵照统一的参数,最终成功编译。
This is a challenging task because the programmer must be able to interpret the specs and then code so that the parameters given are followed and finally implemented.
如果您选择在自己的系统中使用该代码,一定要检查是否会返回位置并且如果未对某个位置进行解析时为用户呈现一条告知性的错误消息。
If you choose to use this code in your own system be sure to check if a location is returned and present an informative error message to the user if a location isn't resolved.
它用了三条语句、不足20行的代码连接到了数据库,从表中选定了每一行,并将数据作为xml导出。
In three statements and fewer than 20 lines of code, it connects to the database, selects every row from the table, and exports the data as XML.
但在某些点上,在编写大量代码之前,必须在沙滩上划出一条线来,建立需求的基线。
But at some point, before too much code gets written, it is important to draw a line in the sand and create a requirements baseline.
该代码片段实际上是一个350多行的方法的一部分,该方法展示了41条不同的路径。
The snippet is actually part of a 350-plus-line method that was shown to have 41 distinct paths.
一旦可以读取或生成最初的OAGISBOD,那么可以使用大部分代码来读取或生成下一条消息。
Once the initial OAGIS BOD can be read or produced, much of the code can then be used to read or produce the next message.
另外,第一条SQL代码可以用来深入了解遇到的错误。
Additionally, the first SQL code is provided to give insight into the error encountered.
应用推荐