|
|
#1 |
|
In Runtime
Join Date: Oct 2006
Posts: 206
|
What do you guys think of the Go programming language?
Specifically things like:
|
|
|
|
|
|
#2 |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Only looked at it briefly, but it's one of the (few) things from Google I'm not so keen on. Lack of generics, exceptions, assertions and so on - I know there's been an emphasis as of late of decluttering languages rather than adding loads of features, and to an extent this is a good idea (operating overloading for example was removed in Java and I think for the most part at least this was a very wise move.) However, looks like in GO they've GOne (sorry, just had to) too far. I love the use of generics in complicated code because it often helps to declutter things. Same with exceptions, and assertions are good for checking you've done what you think you have.
Concurrency CSP stuff looks cool though.
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
#3 | |
|
In Runtime
Join Date: Oct 2006
Posts: 206
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Yes, it has got very good integration but then again there's perfectly decent libraries for other languages too - unless I'm missing something that's not really a killer feature.
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
#5 |
|
In Runtime
Join Date: Oct 2006
Posts: 206
|
yea, i'm thinking that Google is thinking of phasing out Java in favor of their own language. Like Microsoft has C#, Google would have Go? No?
|
|
|
|
|
|
#6 | |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Quote:
Difference with Microsoft is that they said "hey, if you use C# we'll make sure your programs integrate as brilliantly with windows as they possibly can." Google can't really say that to the same degree. It's an interesting language, but I don't think it's mature enough yet. Give it another few years and who knows, the ball park may change.
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
|
#7 |
|
In Runtime
Join Date: Oct 2006
Posts: 206
|
yea, i realize that its new, in fact so new that they don't offer much tutorials or anything, but my point is that they don't like the fact that someone like Oracle has a direct hand into all Google products. As has been shown by Oracle's move to sue Google over using parts of Java inside Android. Shortly around this time, Go came out. I'm trying to strategically position myself to knowing a language that will dominate the future. Kind of like knowing C# now or Java 10 years ago.
|
|
|
|
|
|
#8 | |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Quote:
If you want to learn a language, learn something like Java or C# that's popular now. There's no point taking wild guesses at what might be popular in the future - if you get good at one language migrating to another should be relatively easy in the future anyway, and at least by learning a common one now you can guarantee that you'll still have learnt something useful even if it's just for legacy stuff. GO might become the language of the future that everyone just *has* to learn. But then arguably so could D, Scala, F#, etc. or just as (if not more so) feasibly languages like C# and Java could remain just as popular decades in the future. The flip side is that if it doesn't become big in the slightest (incredibly likely) then you've just learnt a language that never has, and never really will be used for anything.
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
|
|
|
#9 | ||||
|
In Runtime
Join Date: Oct 2006
Posts: 206
|
Quote:
Quote:
Quote:
Quote:
As far as how some functional language can become popular or Java or C# remain popular, it very well may be. I'm not asking about them, I'm asking about Go. |
||||
|
|
|
|
|
#10 | ||
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
Ah, in that case fair enough. I thought you didn't know any languages yet and were looking to position yourself to learn one to get started.
Of course, if you're interested in GO and want to give it a try regardless to see what it's like, GO (sorry, can't help it!) for it! It's always interesting learning a new language like that even though it may not be terribly useful in the future. Quote:
Quote:
__________________
Save the whales, feed the hungry, free the mallocs. |
||
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|