反射规则 the law of reflection
在看golang.org上一篇《the law of flection》,写点自己的理解和笔记。类型和接口(type and interfaces) 因为接口是基于类型系统的(type system),所以首先看下一下go的类型go是静态类型的。每个变量都有一个静态的类型(static type),也就是说一种类型在编译的时候被声明和确定了(one type known a
翻译
2013-08-20 11:22:07 ·
1051 阅读 ·
0 评论