The handy thing to remember about exception handling is that the errors can be handled outside of the regular code.
关于异常捕获顺便要提及的是:错误可以在正常代码之外被处理。
It's just a matter of deciding which features are implemented more easily and more clearly using macro expansions versus regular code.
问题只是决定哪些特性使用宏展开(而不是常规代码)来实现会更容易、更清晰。
Since the macro expands to regular code anyway, you can always switch back to imperative programming if the declarative language doesn't suit your needs.
因为宏可以以任何方式展开常规代码,所以如果声明式语言不能满足需要,那么随时可以切换回命令式编程。
Of course, a regular method can also decide what code to run based on runtime conditions, so there is nothing fundamentally new about this concept of runtime determination of what a "method" does.
当然,普通的方法也可以根据运行时条件确定要运行哪些代码,因此,关于在运行时确定“方法”处理的概念不存在什么特别新的内容。
There are several advantages of using stored procedures, compared to regular SQL code.
与普通的SQL代码相比,使用存储过程有一些优势。
The purpose of these optimizations is to avoid invocation of the regular SQL runtime interpreter wherever possible to shorten the code path.
这些优化的目的是为了可以在任何缩短代码路径的地方,避免调用常规的SQL运行时解释器。
The XML mapping file contains, and elements with code inside of them that looks like regular ANSI SQL.
这个xml映射文件包含、和元素,三个元素内包含的代码看上去像是常规的ANSISQL。
Snippets are little fragments of code that perform small tasks, such as running a regular expression on some input, connecting to the database, and querying the database.
片段是完成小任务(比如在一些输入中运行常规表达式、连接到数据库和查询数据库)的小部分代码。
"Smart ASCII" is a text format that USES a few spacing conventions to distinguish types of text blocks such as headers, regular text, quotations, and code samples.
“智能ASCII”是一种文本格式,它使用一些间隔约定来区分文本块的类型,如头、常规文本、引语和代码样本。
Since it's regular HTML, you can add a style sheet to the code.
由于这是常规的HTML,因此可以在代码中添加样式表。
The key thing is that this port wiring code is regular and can be automatically generated, based on the connections defined on the composite structure diagram.
关键之处在于,该端口接线代码是规则的,并且可以基于在组合结构图上定义的链接来自动生成。
This is a variation of replication strategy where the regular commits are for the current node and the code can trigger replication at a logical point.
这是复制策略的一种变化,其中常规提交是针对当前节点的,而这个节点可以逻辑点触发复制。
To join the network, recruitment agents will have to accept a code of practice and get regular training.
招生代理机构要加入这个组织,必须同意遵循操作准则并接受正规培训。
But while the Python interpreter is running an application, Psyco sometimes checks to see if it can substitute some specialized machine code for regular Python bytecode actions.
但是当Python解释器运行应用程序时,Psyco会不时地检查,看是否能用一些专门的机器代码去替换常规的python字节码操作。
IllegalThreadStateException is thrown when code that enters scoped memory areas is run by regular threads.
当进入范围内存区域的代码由常规线程运行时,将抛出IllegalThreadStateException。
I used one unsupported list comprehension in my code, which I had to unroll into a regular for loop.
在代码中,我使用了一个不支持的列表,将其放入一个普通的for循环。
After you compile the code with GCC -g -o0 simple.c -o simple, a regular debug session might look like Listing 2.
用gcc- g - O0simple . c -o simple编译代码后,一个常规的调试会话如清单2所示。
Listing 5 shows a sample program that demonstrates regular expressions in Squirrel Shell (the code was written by Mr. Makshin and is used with permission).
清单5展示的示例程序演示了SquirrelShell中的正则表达式(代码由Mr . Makshin编写并且得到使用许可)。
Each rule, in turn, consists of a regular expression and some code to be run when that regular expression is matched.
每一个规则依次包含一个正则表达式以及该正则表达式得到匹配时要运行的一些代码。
A scheduled build process that runs at regular intervals; for example, whenever the code changes.
按定期间隔运行的计划构建过程;例如,每当代码发生更改的时候。
It also leaves as an exercise for the reader several enhancements to the way the sample code USES regular expressions.
它还为读者留下了一个练习,要求读者对示例代码使用正则表达式的方式作一些改进。
Unfortunately, the abstraction is leaky: in my ZIP code validator, for example, I would have liked to use regular expressions to perform the check.
不幸的是,抽象是有漏洞的:例如,在我的ZIP代码验证器中,本想使用正则表达式执行检测。
Even though this is more code, this query is actually missing several features present in the regular expressions version.
即使代码数量多了,但此查询实际上缺少几项正则表达式版本中包含的功能。
Programmatic proxy creation is useful when writing infrastructure code and tests, but is not often used in regular business applications.
编程式的代理创建在编写基础结构代码和测试时比较有用,但在通常的业务应用中并不经常使用。
If the data matches the current regular expression, the application displays a message to indicate that the postal code is valid.
如果数据与当前的正则表达式匹配,则应用程序显示一条消息,表明邮政编码有效。
This is because the regular person tag is a server-side component that cannot currently be called from JS code.
这是因为规范的个人标签,是一个服务器端的构件,目前还不能从JS代码中对其进行访问。
Each rule has corresponding code that is executed when the regular expression is matched.
每一个规则都有相应的当正则表达式得到匹配时去执行的代码。
The tool allows Web surfers to find code that matches certain regular expressions, and searches can be limited to certain file types and licenses.
这一工具使得上网者可以搜索符合特定正则表达式的代码,而这些搜索可以限制于特定的文件类型与许可。
The tool allows Web surfers to find code that matches certain regular expressions, and searches can be limited to certain file types and licenses.
这一工具使得上网者可以搜索符合特定正则表达式的代码,而这些搜索可以限制于特定的文件类型与许可。
应用推荐