Linked by kragil on Wed 23rd Jan 2013 20:26 UTC
Thread beginning with comment 550136
To view parent comment, click here.
To read all comments associated with this story, please click here.
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: Comment by Laurence
by Laurence on Wed 23rd Jan 2013 20:48
in reply to "RE: Comment by Laurence"
Go is a C like language, a little more pretty but still with a syntax that can become hard to read IMHO.
Sorry, but I'm not sure I get your point as both the officially supported languages are C-like (Java and C++).
However Go is much more than just another C-like language. Syntactically it's concise yet still verbose enough to be readable. It's a managed language but it doesn't make assumptions (unlike some managed languages).
In all honestly, I've only been using it a week yet it's so easy to pick up that I already feel like I've been programming in the language for months. It really is a joy to use.
Plus it's cross compiling support is child's play. I can write an application on x86, get it working exactly how I want, then just change one compiler flag to create and ARM binary for my Raspberry Pi. I will concede that it's been the best part of 10 years since I've done any cross compiling in C++, but I'm sure it was never that easy.
Edited 2013-01-23 20:50 UTC
RE[3]: Comment by Laurence
by Hiev on Wed 23rd Jan 2013 20:51
in reply to "RE[2]: Comment by Laurence"
Personally, I find the sintax cryptic and I would only use it as a last resource.
For example:
func fib() func() int {
a, b := 0, 1
return func() int {
a, b = b, a+b
return a
}
}
Some people may feel comfortable with that kind of syntax, I don't, It is as bad as the worse C++ IMHO, well not that bad.
Edited 2013-01-23 20:58 UTC
RE[3]: Comment by Laurence
by vivainio on Wed 23rd Jan 2013 21:47
in reply to "RE[2]: Comment by Laurence"





Member since:
2005-09-27
but I wish Google would hurry up and release an Android SDK for Go though.
But why?
Go is a C like language, a little more pretty but still with a syntax that can become hard to read IMHO.