修正英文括号 --> 中文全角括号

This commit is contained in:
dake
2015-10-25 00:58:45 +08:00
parent 8bd2a891c2
commit 52cac078fb
3 changed files with 4 additions and 4 deletions

View File

@@ -658,7 +658,7 @@ func (i *Integer) String() string {
在 Go 中类型就是类数据和关联的方法。Go 不知道类似面向对象语言的类继承的概念。继承有两个好处:代码复用和多态。
在 Go 中,代码复用通过组合和委托实现,多态通过接口的使用来实现:有时这也叫 **组件编程(component programming)**
在 Go 中,代码复用通过组合和委托实现,多态通过接口的使用来实现:有时这也叫 **组件编程component programming**
许多开发者说相比于类继承Go 的接口提供了更强大、却更简单的多态行为。