This discussion of DSLs as a way to capture idiomatic patterns may seem a bit abstract up until now, so I'll finish with an example from the real world.
到目前为止,介绍 DSL作为一种捕获惯用模式的方法可能有点抽象,因此我接下来将使用一个真实的示例作为结束。
The steps above are a provided as an example so you can see how end-to-end monitoring works.
上面的步骤可以作为一个示例,您可以从中看出端到端监测是如何工作的。
"As your weakness, identify a strength you take to an extreme:" Sometimes I get so caught up in my subject that I give people too much information, "for example."
至于你的弱点,要找一个你太过了的优点,比如“有时我太投入于实现我的目标以至于让人们感觉我太张扬”。
Dates are a good example: a date has fixed structure and generally ACTS as a single token, so it makes sense as an attribute (preferably expressed in ISO-8601).
日期是一个很好的例子,它有固定的结构,并且一般作为单个标记,因此作为属性非常合理(更适合用iso - 8601表示)。
And architecture, as an industrial designer would use that term, is about how those components are arranged So, let's take a look at an example Imagine we've got a new mobile device, okay?
而构架这个术语,可能工业设计师会用到它,表示那些组件是如何安排的,所以,让我们看一个例子,假设我们有了一个新的移动设备,怎么样?
In addition, you can't use Numbers for the keys in this approach, as shown in the previous example. Doing so causes an exception to be thrown.
另外,如前面的例子所示,在采用这种方式时对于键不能使用数字,否则会导致抛出一个异常。
We're gonna just make it, for example, as an extra feature so people can either choose to print the permanent document or temporary document.
比如,我们可以把它作为一个,附加的功能,这样人们可以,选择打印永久性的文件或者暂时使用的文件。
So, for example, we were talking about a threshold frequency as in a minimum frequency of light that you need in order to eject an electron from a metal surface.
举个例子来说,我们谈论的临界频率是,光从金属表面逐出一个电子,所需的最小频率。
So, as an example, remember at the end of the last lecture, I tried to set up an example where we were looking at a sphere sliced by a slanted plane.
举个例子,大家记得在上次课末尾,我举了个例子,有一个被斜切的球体。
For example, a value can be cast to another type by using the type name as if it were a function. So you could cast a value to an unsigned integer using the code fragment in Listing 12.
例如,通过使用类型名称可以将一个值强制转换为另一种类型,就象是一个函数一样。
The getopts command returns true if an option is found, so a common option processing paradigm uses a while loop with a case statement as in this example.
如果找到一个选项,则getopts命令返回true,因此常见的选项处理范例使用带case语句的while 循环,本例中就是如此。
As an example, the resulting form for the demo given so far, as shown by Delphi 7 at design time is shown in Figure 6.
例如,目前给出了给定演示的结果窗体,如图6中所示,该图中显示了Delphi7在设计时显示的结果窗体。
For example you can display objects as wire-frames, display only the corners of an object and so on. You can even make objects transparent, with the following Settings.
例如你可以用线框效果显示对象,只显示对象的边角等等。
So, for example if we consider an order management service we might expect to see a structural specification that lists "place order," "cancel order," and "update order," as available operations.
那么,例如,如果我们设想一个订单管理服务,我们也许期望看到列出“下订单”、“取消订单”和“更新订单”作为可用操作的结构规范。
As your weakness, identify a strength you take to an extreme: "Sometimes I get so caught up in my subject that I give people too much information, " for example.
在说到缺点时,将你的一个优点扩大化,例如:有时候我过于关注我的工作或领域以至于我跟别人聊天时都在讲工作。
Not so in Schwarzenegger's case: he's an example of what is sometimes described as an endangered species, the moderate Republican.
而施瓦辛格的情况就不同了,他是共和党温和派的代表,而这一派有时被形容为濒危物种。
In this case, an image might, for example, have been manipulated so as to provide back-door ac-cess for an attacker.
在这种情况下会存在一些风险,比如镜像可能被动过手脚,从而为攻击者提供后门。
Rule 150 generates some interesting tunes when you use sound to represent a CA, so I'll use it as an example throughout this article.
用音乐表示CA时,150规则会生成一些有意思的曲调,因此在本文中我将用它作为例子。
To handle this, you implement customers as an abstract base class with many different subclasses (for example, financial, manufacturing, and so on).
要处理这个问题,要把客户实现成一个抽象基类,拥有许多不同的子类(例如,财务、制造等等)。
If we take the shuttle as an example of a near-Earth orbit, so we have the shuttle.
我们以航天飞机为例,在近地球轨道上,有一个航天飞机。
The examples so far have naively assumed that the penalty for a mismatch between DNA bases should be equal — for example, that a G is as likely to mutate into an A as a C.
目前为止的示例都假定DNA碱基对之间不匹配的扣分应该相等 —例如,认为G 变异为A与变异为 C 的可能性相当。
Try to be an example for those in the unknown, so you may help us in our task, and do not lose your positive outlook, as it is positive indeed.
尽可能为那些不知晓的人树立一个榜样,因此你会帮助我们,不要丧失你们积极的见解,因为这信息真正的是积极的。
As an example, if I wanted to create my collection so that it updates once every day at midnight, I can create my text search collection this way.
举个例子,如果我想创建一个collection且让它在每天晚上12点更新一次,我可以按下面的方法创建我的文本搜索collection。
Even so, South Korea has been singled out as an example of how being dug in, once seen as a virtue, is fast becoming a liability.
即便如此,韩国还是被选作一个实例,即一度被当作是优势的前沿部署策略是如何快速成为一种负担的。
For example, the client maintains a table of the current paths of file descriptors, so a path can be sent to the server along with an operation such as fchmod (2).
例如,客户端维护一个关于文件描述符的当前路径的表,从而实现将路径和操作(比如fchmod(2))一起发送到服务器。
For example, the following code in Listing 8 italicizes only an h4 element that follows another h4 element, so the first h4 element remains unchanged, as shown in Figure 6.
例如,清单8 中的代码只选择另一个h4元素后面的一个 h4 元素并把它设置为斜体,所以第一个 h4 元素保持不变,见图 6。
For example, an int parameter would be declared as int and a String parameter would be declared as String so a value could be returned in it.
例如,int参数将被声明为int,而String参数则被声明为String,因而可以在这些参数中返回一个值。
So for each table link, we can store the name table, along with the start and step values as an event identifier — for example, table-10-5.
因此对于每个表链接,可以存储名称table再加上start和step值作为事件标识符,比如table - 10 - 5。
As an example, the file type aspx content (ASP.Net) is not compressed by default with dynamic compression so that file type must be added to the list (KB article 332603). To do that, you will.
例如,在默认情况下,动态压缩并不会压缩文件类型为aspx的内容(ASP.Net),所以必须在列表中添加这个文件类型(kb文章332603)。
Take "Hippopotomonstrosesquipedalian" as an example. This word, which means "a word coined so as to be long" is actually longer than its definition.
以“Hippopotomonstrosesquipedalian ”为例,它是指“为了长而创造的单词”,单词本身实际上比定义还长。
应用推荐