46

Go语言的奇特语法,你怎么看?

 5 years ago
source link: http://developer.51cto.com/art/201904/595470.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
刚开始接触Go语言的同学觉得Go语言的语法很特别,尤其是使用C/C++或者Java等语言的同学。比如在C等语言中定义变量的时候类型是在名称前面,而Go语言偏偏要将类型放在变量名称后面,觉得很奇怪等等。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK