News for hackers. Stuff that matters.
Re:Go at Google: Language Design in the Service of Software ... by yummyfajitas on Wednesday December 05, 2012 @07:55AM (#4876013)
It looks the same to me.

The key point is that because Maybe is a monad, you can chain things together and handle failure at the end much like a try/catch:

    let result = do
        x <- f(t)
        y <- g(x)
        z <- h(y)
        z
      in
    case result of ...
You are correct that this isn't particularly novel.
Re:Go at Google: Language Design in the Service of Software ... by irahul on Wednesday December 05, 2012 @03:51PM (#4878503)
And as Go lacks both exceptions and Maybe/Option type, chaining or computation expressions will look more clumsy. I am still a Go beginner and am wondering if idiomatic Go designs programs in a different way to make up for this.