而且——最主要的一个好处就是,多个实例可以并行操作。
Also — one of the major benefits — multiple instances could operate in parallel.
此外,消息系统跨erlang实例、通过网络操作,这使得跨机器通信更为简单直观。
Furthermore, the message system operates across Erlang instances and over a network, making cross machine communication simple and straightforward.
实例的删除常常与存档操作相关联。
The deletion of instances is usually closely connected to archiving operations.
It says if I want to get the length of a segment, going to pass in that instance, it says from that instance, get the start point, that's the thing I just found.
它的意思是如果我想要,得到一个线段的长度,首先要把这个实例传进来,然后对于这个实例,从开始点,取得x坐标,然后通过同样的操作。
Notice that that typically also defines for me what the internal variables are, what the internal characteristics of the class are going to be.
就放进去是比较好的,我写下了init声明意思就是,当你创建一个实例的时候,这就是你要进行的操作。
应用推荐