以前学过ruby,gml,lisp这些小众语言的我
又开始了golang
基本上所以语言,我觉得都应该和C++对比一下
C++ vs golang
In brief, golang is a language which mixes C++, Python and Java, but it
- extends the cross-platform ability in Java.
- force type
newline
golang: syntax error: unexpected semicolon or newline before {
golang can't
package main
func main()
{
}
golang must
package main
func main(){
}
标签:Java,newline,C++,golang,vs,main
From: https://www.cnblogs.com/qianxinn/p/17171876.html