“Go” programming language

Before everyone gets too excited about the “Go” language, 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.

One Response to ““Go” programming language”

  1. Rob Says:

    I do like static typing, but you need templates, or generics as they are now called to really leverage some power. Why not have assertions. They have absolutely no downside in a compiled language. And exceptions are a must, and without inheritance, aren’t you back at everything is an object.

    I haven’t actually had a proper look at it, so these are only my initial thoughts, shouldn’t rush to judgement.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

For inserting HTML or XML please remember to use &lt; instead of <