First impressions of the “Go” programming language

By Adrian Smith11 Nov 2009200 words1 mins to read

Before everyone gets too excited about golang, let's not forget it lacks:

Generics are necessary to express concepts like List<List<MyType>>. If you are in to static typing, then you need to be able to express those concepts. (And if you are not, then a statically typed language like Go is not for you anyway.)

Obviously it has good features as well, such as its concurrency constructs and type inference, but without those features above, I can't see how you can do any useful modeling in the language; or rather how can you can express a useful model in the language without losing a lot of information.

http://golang.org/doc/go_lang_faq.html

Perhaps those features will be added in future versions.

This article was written by Adrian Smith on 11 Nov 2009

Follow me: Facebook | Twitter | Email

More on: Coding | Language Design