Ask HN: “CoffeeScript for Go”?
2. Would any Go developers be interested in using such a language?
I've always thought it could be a cool idea and is something I personally wanted. I've been considering hacking together something like this, but I'd have even more incentive if others were interested.
I don't think I'd do away with braces and use significant whitespace like CoffeeScript does. Rather, just provide sugar for many common operations, probably with a Python or Ruby feel. Things like negative indices, something to reduce repetition for the most common cases of error handling, and one-line anonymous function shorthand.
Obviously this conflicts a bit with Go's fundamental principles of simplicity, but I'm wondering who would consider it a worthy tradeoff and use such a language.
2 comments
[ 3.1 ms ] story [ 16.5 ms ] thread