iGo: a new Syntax for GoLang
igo.herokuapp.com
iGo: a new Syntax for GoLang
1–10 of 94 posts
Re: iGo: a new Syntax for GoLang
#2EDIT: Oh, weird. After refreshing I now see it.
Re: iGo: a new Syntax for GoLang
#3Why isn't this pre-populated with examples that demonstrate the advantages of IGo? EDIT: Oh, weird. After refreshing I now see it.
Re: iGo: a new Syntax for GoLang
#4Why isn't this pre-populated with examples that demonstrate the advantages of IGo? EDIT: Oh, weird. After refreshing I now see it.
Re: iGo: a new Syntax for GoLang
#5Why isn't this pre-populated with examples that demonstrate the advantages of IGo? EDIT: Oh, weird. After refreshing I now see it.
Using: Chrome Version 33.0.1750.152 Have Adblock installed.
Re: iGo: a new Syntax for GoLang
#6However, this is not that. Despite looking like a different language, in reality, it's just a different _interface_ to writing/reading Go. It's completely compatible with all the libraries, tools that work on Go code because it _is_ Go code, simply expressed via a different representation of the Go AST.
I think that is a really nice way to experiment with the positive aspects of new languages/syntaxes. Nicely done!
Re: iGo: a new Syntax for GoLang
#7Re: iGo: a new Syntax for GoLang
#8I'm in the whitespace > braces camp, but mandatory braces help with the dangling else problem and makes it easier for the parser.
Re: iGo: a new Syntax for GoLang
#9For some reason I find this less readable than the original syntax. I couldn't say why, as I quite like Python or Coffeescript.
Re: iGo: a new Syntax for GoLang
#10Plus, with all these changes, this syntax saved 5 lines of code, most of which were simply closing braces, and brought no greater clarity. In fact, I'd argue it's probably pretty easy to mess up scope in the iGo example and never know it.