myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 19 Jun 2012 10:59 PM |
With the release of Go 1, the first stable release of Google's Go programming language, I'm actually considering starting a project with it.
Google seems to be spurting out new languages lately, with its Dart and Go, both of which seem very interesting.
Go is like a mix of C++ and Java with threads and synchronization built into the syntax. Google's only huge mistake in the creation of this language was the name -- searching "Go Map" certainly won't bring up Go's map type. Google should have known this, considering it _is_ the biggest search engine on the internet!
Anyways, what do you think of it? |
|
|
| Report Abuse |
|
|
slayer219
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 3445 |
|
|
| 19 Jun 2012 11:09 PM |
| I think it looks pretty solid and well done, from what I've seen so far that is. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:21 PM |
| Heh, seems interesting. :) |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 19 Jun 2012 11:22 PM |
| Looking at it, I don't like it because of how inconsistent it seems to be. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:22 PM |
Lol, there's a language called Go and another called Go!.
But the one we're talking about here is Go. |
|
|
| Report Abuse |
|
|
slayer219
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 3445 |
|
|
| 19 Jun 2012 11:26 PM |
| Google Go, It's said to be like Python and C++ mixed. |
|
|
| Report Abuse |
|
|
|
| 19 Jun 2012 11:31 PM |
I love Python. I love C++.
See where I'm getting at...? |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 20 Jun 2012 01:00 AM |
| Go's standard library is awesome, too. Easy networking, image manipulation, encryption, etc. and many predict there will soon be a standard GUI package too! |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
|
| 20 Jun 2012 04:48 AM |
| apple is better lolLOLOLOLOLOlololoLOLOLOLOL |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
| |
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
| |
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 20 Jun 2012 10:11 AM |
Whatever.
I'm gonna make my Android apps while you play with your overpriced iPads. |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 20 Jun 2012 10:25 AM |
| It's funny because I'm the one on the iPad right now. |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
|
| 20 Jun 2012 10:33 AM |
And I'm on an Android. Don't swap us froob. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 10:44 AM |
There's just some feel about it I hate. It looks interesting and the gopher is cool, it's just I really don't like the syntax.
"import "fmt"
func main() { fmt.Println("Hello, 世界") }"
Dahell is fmt? Why 'func'? Looks ugly to me :( Their Fibonacci example:
"func fib() func() int { a, b := 0, 1 return func() int { a, b = b, a+b return a } }"
I don't have a clue what on earth "func fib() func() int {" is supposed to do. Why say func twice?
And I also hate having to use two characters to assign, I just think it looks ugly and is irritating to do shift+;+=.
Although I understand that some people would like it, I just personally don't. |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 20 Jun 2012 11:08 AM |
@trappingnoobs, but it does make sense:
"func fib() func() int { a, b := 0, 1 return func() int { a, b = b, a+b return a } }"
"func fib() func() int" means it's a function fib that returns another function "func()" that returns an int. := is only used when you declare AND assign to a variable, so "a := 1" in C++ would be "auto a = 1;"
"fmt" is just a package used for console IO I guess. It's probably called "format" for formatting text and outputting it. |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 20 Jun 2012 11:08 AM |
| It just needs to be approached with an open mind :D |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 11:15 AM |
I've known about Google Go for years. My friend's father introduced me to it in 2009. I like it, but I didn't get very far into it.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." - Rick Cook |
|
|
| Report Abuse |
|
|
nights192
|
  |
| Joined: 22 Feb 2008 |
| Total Posts: 18071 |
|
|
| 20 Jun 2012 11:45 AM |
| I dislike Google Go, mainly because of its similarities to C++. |
|
|
| Report Abuse |
|
|
|
| 20 Jun 2012 11:50 AM |
| Ugh, I tried to use Google Go a few weeks ago because someone told me it was an awesome language. After I tried it out for a few days, I proceeded to slap him across the face and tell him his opinion is bad and he should feel bad. |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
| |
|
|
| 20 Jun 2012 12:01 PM |
| It does look a lot like C++. I'm definitely checking it out later. |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 20 Jun 2012 12:42 PM |
| I like it, it's a very elegant language for what it's designed for: Writing servers and services. |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Jun 2012 02:10 PM |
| I am in the progress of learning C++, but I may also put some time into Google Dart Language |
|
|
| Report Abuse |
|
|