Agreed 100%. This is actually the reason that I have been picking up go lately, you get some of the more lenient syntax of python, with static typing guarantees.
I'm surprised that people only seem to be considering Go as an upgrade to static typing, from languages like Python or Ruby.
Kotlin has a very lightweight syntax with lots of type inference as well, but also has many features that people often seem to miss in Go. It also has transparent access to all Java libraries, which is a huge number, which is a big benefit. It seems like a natural path for people who liked dynamic languages. It's much less well known, of course.
Well there are a few reasons that I decided to pick up go rather than something like kotlin.
1. No jvm needed. This may not be a benefit if you need to access java libraries, i just like that you can compile a binary.
2. Great concurrency support
3. Seems to be more popular. This may sound like a poor reason to choose a language, but if its more popular there would be better documentation, libraries, ide support, etc
mike_hearn|10 years ago
Kotlin has a very lightweight syntax with lots of type inference as well, but also has many features that people often seem to miss in Go. It also has transparent access to all Java libraries, which is a huge number, which is a big benefit. It seems like a natural path for people who liked dynamic languages. It's much less well known, of course.
https://kotlinlang.org/
rjbrock|10 years ago
1. No jvm needed. This may not be a benefit if you need to access java libraries, i just like that you can compile a binary. 2. Great concurrency support 3. Seems to be more popular. This may sound like a poor reason to choose a language, but if its more popular there would be better documentation, libraries, ide support, etc
unknown|10 years ago
[deleted]
pcwalton|10 years ago
rjbrock|10 years ago
Type inference like this: myvar := myFunc() makes coding feel like its a dynamic language