If I've said that one, it is because there is a compiler from Go to JavaScript under (advanced) development with several advantages over another compilers: + The lines numbers in the unminified generated JavaScript…
But the great disadvantage of those compilers (CoffeeScript and ClojureScript) is that the generated code doesn't matches up with the lines of the source code so its debugging is much more difficult.
I prefer a sintaxis more expressive, concise and clean like Go's: package main type Foo struct { a, b, c int } func (f *Foo) bar(x int) int { return f.a + f.b + f.c + x } func main() { afoo := Foo{1, 2, 3} afoo.bar(3) }
If I've said that one, it is because there is a compiler from Go to JavaScript under (advanced) development with several advantages over another compilers: + The lines numbers in the unminified generated JavaScript…
But the great disadvantage of those compilers (CoffeeScript and ClojureScript) is that the generated code doesn't matches up with the lines of the source code so its debugging is much more difficult.
I prefer a sintaxis more expressive, concise and clean like Go's: package main type Foo struct { a, b, c int } func (f *Foo) bar(x int) int { return f.a + f.b + f.c + x } func main() { afoo := Foo{1, 2, 3} afoo.bar(3) }