设计模式通过明确对象、对象间的协作和职责分配,捕捉到了隐藏在设计背后的意图。
They capture the intent behind a design by identifying objects, their collaborations, and the distribution of responsibilities.
技术专家所思考的对象的许多特征和质量不能简化为明确的语言描述;它们在大脑中通过视觉及非语言的过程处理。
Many features and qualities of the objects that a technologist thinks about cannot be reduced to unambiguous verbal descriptions; they are dealt with in the mind by a visual, nonverbal process.
而且,在没有明确指定的情况下,会把该变量定义为对象数组。
Also, it would define the variable as an object array unless otherwise indicated.
But there's an important thing going on here, if I in fact wanted to combine those into a string I should have told the machine to do that, and I can do that, by explicitly saying, take that, which is a number, then add it to that string.
但是这里有个很重要的事情,实际上想要把这些加到一个字符串里面去,我应该告诉计算机去做这个,我应该这么做,通过明确的输入,也就是把这个对象,一个数字,然后把它加到一个字符串里面去。
应用推荐