在此活动中,我们必须具体到每个用例的代码分类,并重新构建代码相应的高层架构。
In this activity, we must sort out the code that is specific to each use case and rebuild the corresponding high-level architecture of the code.
实际使用表明代码分类合理、可操作性强、大大提高了系统信息处理的效率和精度。
The application has proved that the code is rational and operational, and improves greatly treating efficiency and precision of information system.
属性分类系统的创建,建立了一个不用对代码进行大的修订就可以添加新属性的简便方法。
The creation of the attribute classification system establishes an easier way to add new attributes without having to perform major code revisions.
当然这是一个关于数字分类的设想示例,所以很难在各种类型的代码中泛化。
This is of course a contrived example relating to number classification, so it's hard to generalize to different types of code.
提供了框架代码来将列表分类。
如果您的目标只是显示表格,那就可以了,因为余下的代码可以完成分类。
If your only objective is to show the table, then you're done, because the rest of the code handles sorting.
我将用我自己专门的程序,那个会分类为我标出代码的颜色,但是那个思想是一样的,这是一个文本编辑器。
I'm going to use my own special program that will color code things for me in class, but the idea is the same; it's a text editor.
要说明代码重用及其含义,我要回过来谈谈先前文章说明代码结构和风格所用的数字分类器。
To illustrate code reuse and its implications, I return to a version of the number classifier that previous installments use to illustrate code structure and style.
解决这些问题的方案就是:将代码根据编译、测试和部署分类为不同的组件。
The answer to both of these problems lies in dividing the code into appropriate components that can be built, tested, and deployed separately.
可以将测试按照测试代码的多少分类:“单元测试”检验单一组件的功能,比如一个函数或者一个类。
Tests can be categorized according to the amount of code they exercise: a unit test verifies the functionality of a single software component, such as a function or a class.
小区广播消息按主题分类,给每条消息都分配了通道号、消息代码、更新号和语言。
Cell broadcast messages are classified by topic and allocated a channel number, message code, update number, and language.
这个代码的确好了很多,它开始读取更多像 “按姓氏对人们进行分类” 之类的问题语句。
This is definitely getting better — the code is starting to read more like the problem statement "sort people by last name."
模板使用了TemplateToolkitFOR 循环来遍历(未分类的)照片(如果需要进行分类,最好在 Template Toolkit 环境之外使用 Perl代码完成这个操作)。
The template uses a Template Toolkit FOR loop to iterate over the images, unsorted (if you need sorting, it's better to have the Perl code do it outside the Template Toolkit environment).
可以看到可用报告的分类:关于代码作者的一些统计数据、查看提交日志、代码段的行,以及关于文件和目录大小的一些统计。
You can see the sorts of reports available: statistics on the code authors, a view into the Commit Log, a Lines of Code section, and some statistics on file and directory sizes.
和图书馆的分类系统不同,终端用户是看不到BISAC代码的,你可以在书架上看到这本书,但需要书店的工作人员来帮你找到某一本具体的书。
Unlike library classification systems, BISAC codes are invisible to the end user, enabling browsing but usually requiring customers to turn to a staffer to locate a specific title.
替代的层次根分类指定了有意义的分类标签和代码。
Alternate Hierarchy root categories are given meaningful category labels and codes.
添加内容代码和标签——按照已定义的组织模式(包括层次结构分类和控制词汇)添加内容标签。
Code and label content — label content according to your defined organizational scheme, including hierarchical categories and controlled vocabularies.
要解决数字分类器问题,必须准确辨别如何搜集因子,这意味着必须编写特定代码来遍历数字,从而确定因子。
To solve the number classifier, I had to discern exactly how to gather factors, which in turn means I had to write the specific code to loop through Numbers to determine factors.
UDDI注册中心会在内部检查这些分类法的使用情况;试图保存无效的代码会遭到拒绝。
Use of these taxonomies is internally checked by the UDDI registry; attempts to save invalid codes are rejected.
注意,这段代码的其余部分类似于清单11。
Note that the rest of the code is more or less the same as Listing 11.
如果我们拥有一个Person对象集合,并且想根据Person的姓氏对列表进行分类,那么我们立即将代码改写如下。
If we had a collection of Person objects, and we wanted to sort that list by the last name of the Person, we would write this today as.
它有一个“auto snipt(自动截取)”选项,可自动查看剪贴板和并为代码段分类。
There is a single option to enable 'auto snipt' which watches the clipboard and catalogs new code segments automatically.
已经知道的分类法类型包括NAICS、UNSPSC、SIC或地理代码(GEO);已经知道的标识符类型包括 D-U-N-S、托马斯注册号(ThomasRegistry number)及美国税号(USTax ID)。
The known taxonomy types include NAICS, UNSPSC, SIC, or a geographic code (GEO); the known identifier types include D-U-N-S, Thomas Registry numbers, and US Tax ID.
当我隔离和移除重复代码后,数字分类器和质数检验器就变得更简单了。
Once I've isolated and removed the duplicated code, both the number classifier and the prime-number tester are much simpler. Listing 4 shows the refactored number classifier.
他们做了同样的分类检查,正如在你读代码的时候所做的,但不只是这些,除非他们不想把作者的观点扳倒。
They do the same sort of sanity checks you'd do when reading code, but no more, unless they're intent on shooting the author down.
是未分类错误的主要代码。
每个企业都会有一个标准产业代码(SIC)(现为北美产业分类系统,简称NAICS),用来确定各自属于哪个产业部门。
Companies were all assigned a numerical Standard Industrial Classification (SIC) code (now North American industry Classification System, or NAICS) identifying which industry sector they fit in to.
分销渠道:如果不是电子预订,为了追踪分类,正确的渠道代码需要被记录。对于其他分类类型,预订来源应被提及。
Distribution channel: For trackingsegmentation the correct DIS code should be recorded, if it is not an electronic booking. For other segmentationtypes the source of the booking should be mentioned.
这是是西亚购物车的源代码,里面有非常详细的分类,简单易学。
It was the West Cart's code, there are very detailed classification easy.
认为采用学科代码作为科技论文的分类标志较为恰当。
The Subject Code is recommended to be used as the identifier of scientific papers.
应用推荐