I was checking out a recent open source con and Google has a lot of people talking about how The Go programming language is the best thing in the world.
The various classes/tutorials/sessions range for crazy to insane. For example.
- "Introducing Go: Why Google's Pissed No One's Using It"
- "How Go Made Me A Better Brogrammer"
- "Go: Best Practices For Getting Laid By Your Pillow"
- "dl.google.com: Powered by Go - Why we stopped using C++ and started using our left hands after sitting on them!"
These are all done by Google bro's and I'm simply amazed. So, /prog/. Do you think Go is a worth while language that should be learned? Or, is it just some crap language to be ignored?
Name:
Anonymous2013-07-23 13:46
I'm very interested in your opinion as well, /prog/
Name:
Anonymous2013-07-23 13:48
I can't think of a single thing that would interest me in this language. It's just some trendy pointless clone with no original features.
>>1
Marketing move, like µ$ made .NET and C#, Sun made Java, Apple made Obj-C. Just a way to separate the competition, and maintain their economic dominance. The Netscape move was the worst that was ever diffused, and somehow it is still alive.
[spoiler]OP be honest, do you even understand the concept of deterrence?[spoiler]
Name:
Anonymous2013-07-23 14:54
>>4
Actually, NeXT made Obj-C, but then I guess it's sorta like an Apple spinoff.
Name:
Anonymous2013-07-23 16:30
Has anyone ever used Go? Or even tried it out? I'm guessing the language is boring as fuck and does nothing. But, that is only what I picked up after reading some documentation.
Name:
Anonymous2013-07-23 16:47
It's syntax and semantics are from the c language family with quite a portion of java. The type system is boring, no polymorphism, higher order types etc. It doesn't have generic programming. No metaprogramming possible.
It has decent concurrency support and has some syntactic sugar for it, but it isn't great. Just decent. It is not very exciting.
Name:
Anonymous2013-07-23 16:54
We are the world
We are the children
Name:
Anonymous2013-07-23 17:04
What con was it?
Name:
Anonymous2013-07-23 17:06
The object model is rather peculiar. They don't allow inheritance(because too difficult), so you can only embed an object in another object to simulate inheritance (that is simulating the delegation of method calls).
To ensure an object has certain methods, they have interfaces. But they implemented some extreme form of duck typing, so you cannot declare your object satisfies an interface. The compiler will find out on it's own and add the appropiate interfaces to it's type dictionary.
In the end you can program object oriented with it, the above features are enough to make this possible, but it is somewhat cumbersome.
It is not a language with new cool features.
Name:
Anonymous2013-07-23 17:18
Martelli noted, the Gang of 4 says "prefer composition to inheritance". Go not only removes inheritance, but makes composition easier and more powerful than in C++/Java/C#.
Some people are so dumb. The Gang of 4 prefer composition to inheritance, so let's remove it from our language. Why? It is a dumb book founded on a dead end in the academic world. It doesn't bring you composable and reusable code, because there is no mathematical foundation for any of these patterns.