As a simple example, consider the following class.
作为一个简单的例子,考虑以下类。
Start with update 1 as a simple example of an XML update.
更新1是一个简单的xml更新示例。
As a simple example, let us create a generic function called whoami and some tagged methods to dispatch to.
作为一个简单的例子,我们来创建一个称为whoami的泛型函数以及一些要被分派标记的方法。
I know this is a simple example, but when you mature as a programmer, one of the first things you should do when you sit down to tackle some problem is write something like this pseudo code.
我知道这是个很简单的例子,但是当你们成长为一名程序员后,当你们碰到问题后第一件事情就是,该写一些类似于,伪代码的东西。
Just to see that in a very simple example, again, we don't use such a complicated example as the one we looked at last time, you could imagine a game, a really trivial coordination game, which looked like this .
不妨再举一个例子,我们就不找上一讲那么复杂的案例了,看一下这个简单的协调博弈,如
You can verify, in this simple example, that A + B is the same as B + A.
在这个例子中还可以验证,A + B = B + A
应用推荐