http://golang.org/ref/spec#Method_declarations I read this one. Don't understand why we need this kind of thing? why don't just use normal function? this is a wired thing I have never seen in other languages, such as c++ java ,python ruby, or haskell, lisp. thanks!
l*s
4 楼
it is method, c++, java, python all have it.
t*r
5 楼
明白了。大牛一点 醍醐灌顶 thanks
【在 l*********s 的大作中提到】 : it is method, c++, java, python all have it.