• This is interesting, but seems a little unnecessarily complex in places. Not sure they need to stray so far from Go. You can pretty much do exactly the same thing in golang just with a check(err) function which panics instead (tried to paste this into this comment as code but the formatting wasn't so good (no newlines)).


    https://play.golang.org/p/lUR3JvJIyu

    The only lines saved by a whole new language are:
    package main
    func main() {
    which is pretty superfluous I agree and nice to ditch (but could be handled by a preprocessor for scripts). And a line of error handling, which I much prefer explicit in pure go like this:
    f, err := os.Create("hello.txt")
    check(err)
    Now a check function that just panics is only useful on short scripts, but it would seem easier to have explicit error handling than produce an entire new dialect for this.