代码类型——封装python程序的元素。
Code types — Encapsulate the elements of your Python program.
“选择代码类型”对话框关闭。
您只能调试那些已被成功附加的代码类型。
You will be able to debug only the code types that were successfully attached.
从清单6中可以看出,我们再次利用泛型来使所有这些代码类型安全。
As you can see in Listing 6, generics are once again leveraged to make all of this code type safe.
如果调试器成功地附加到至少一种代码类型,您就可以继续调试进程。
If the debugger successfully attaches to at least one code type, you can proceed to debug the process.
该层次结构在概念上可以划分为四种类别:简单类型、容器类型、代码类型和内部类型。
This hierarchy can be conceptually broken down into four categories: simple types, container types, code types, and internal types.
有时,调试器能够成功附加到一种代码类型,但不能附加到另一种代码类型。
Sometimes, the debugger can successfully attach to one code type, but not to another code type.
如果想了解有关调试器未能附加到某种代码类型的详细原因,可以尝试仅重新附加到该代码类型。
If you want more specific information about why the debugger failed to attach to a code type, you can try to reattach to only that code type.
由于托管代码和本机代码的调用堆栈之间存在差异,因此对于混合的代码类型,调试器不能始终显示完整的调用堆栈。
Because of differences between call stacks for managed and native code, the debugger cannot always show the complete call stack when the code types mix.
我惊喜地发现,我可以用很少的代码实现这种类型的动态映射。
I was pleasantly surprised how I could achieve this type of dynamic mapping with so little code.
每当实际代码碰到任何类型的错误,它就抛出一个异常,然后该异常就进入调用栈。
Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.
如果您不能改变原始的API,那么您可以书写封装器代码,将聚集类型转化为数组。
If you cannot change the original API, you can write wrapper code to convert the collection type into an array.
与其他类型的代码相反,项目拥有完整的项目管理基础架构。
In contrast to other types of code, projects have a full project management infrastructure.
您设置请假期间的日期,从SAP填充的列表中选择一个类型代码,并输入对此进行批准的经理。
You set the dates of the leave period, choose a type code from a list pulled from SAP, and enter the approving manager.
无论检入何种类型的代码(或文档之类),同样的模型也是可用的。
The same model applies no matter what type of code you are checking in (or documents for that matter).
因此,类型提示使得代码更安全。
在某些方面,大多数组织都建立了一些框架或者有效代码的类型,并通过为开发人员创建简单的API使复杂性抽象化。
In the same way, most organizations have established some type of framework or utility code that abstracts away complexity by creating a simple API for developers to follow.
当所有的工作单元已经完成,就会设置一个决定代码为决定类型提供历史记录和背景。
When units of work are completed, a resolution code is set to provide a history and context for the type of resolution.
根据部署的代码模块的类型,部署程序调用不同的专用构造器。
Depending on the type of code modules being deployed, the deployer calls on different specialized builders.
这种类型的代码复查是组件测试和运行时分析的先决条件。
This kind of code review is a prerequisite for component testing and runtime analysis.
例如,在构建库代码时,最好把类型定义成接口,而不要定义成具体的类。
For example, when building library code, it's better to define types as interfaces rather than as concrete classes.
根据条件,代码将选择相应类型的对象来处理请求。
Based on the condition, the code selects the appropriate type of object to handle the request.
我们看到过很多内部代码,使用值类型来提高性能,同时减小工作集大小。
We've seen some internal code where making it inline (ie, as a value type) improved perf as it decreased working set.
然而,清单7中的代码并不指定类型参数。
However, the code in Listing 7 doesn't specify the type parameters.
这样,在你点击运行按钮之前,你就能确信你的代码符合类型系统的规则。
This way, before you hit the run button, you can be assured that your code is well-formed within the bounds of the type system.
请注意允许这种有潜在“爆炸性”的代码存在所带来的问题并不是程序员有意在自己的代码中覆盖类型系统。
Note that the problem with allowing such potentially explosive code is not that programmers could intentionally override the type system in their own code.
我们使用类似于发布属性表类型和文档类型的代码将其发送到服务器。
We post it to the server using code similar to the code used when Posting property sheet types and document types.
动态类型在原始代码行方面也可以节省精力。
At another level, dynamic typing saves effort in terms of raw lines of code.
动态类型在原始代码行方面也可以节省精力。
At another level, dynamic typing saves effort in terms of raw lines of code.
应用推荐