Re:Google's Go Programming Language Grows Up: Now What?
by djhworld on Thursday September 20, 2012 @10:00AM
(#4548550)
The lack of generics makes Go unsuitable to write typesafe, reusable data structures for use in many popular algorithms. That's a fact.
Yes you can hamfist your way around interfaces and empty interfaces, but it's a complete and utter chore and requires a lot of code duplication for each individual type you want.
I like Go in the sense that you can write things quickly and cleanly, but for the use case above, it's not appropriate.
Re:Google's Go Programming Language Grows Up: Now What?
by thebigshane on Thursday September 20, 2012 @12:29PM
(#4549326)
The lack of generics makes Go unsuitable to write typesafe,
reusable data structures for use in many popular
algorithms. That's a fact.
That is not a factual statement. It is subjective and it is disputable.
Re:Google's Go Programming Language Grows Up: Now What?
by jeremyjh on Thursday September 20, 2012 @09:28AM
(#4548384)
Yes well, I was writing a comment that was already too long. Lots of comments could be better supported. I suppose I could develop this into an original piece with lots of code examples. I guess if I don't do that, I can't write any comments?
Re:Google's Go Programming Language Grows Up: Now What?
by Jabbles on Thursday September 20, 2012 @09:56AM
(#4548532)
You should have picked one point you wished to make and argued it. For instance "Scala can do the same thing (and more elegantly)" could have been demonstrated with a couple of examples. I have not used Scala, but I would be interested to see examples of language-level concurrency other than Go.
- "it has nowhere near the expressive power of those languages"
- "this is LESS powerful than any OO dynamic language"
- "there are quite a few use cases where there is no answer"(a link to a 100-post thread is not good enough)
- "Scala can do the same thing (and more elegantly)"
- "large teams of mediocre programmers"