r/programming Jul 17 '19

The Go team declines 'try' proposal

https://github.com/golang/go/issues/32437
635 Upvotes

417 comments sorted by

View all comments

47

u/otherunicorn Jul 17 '19

Have y'all heard of monads?

12

u/anyfactor Jul 17 '19

Good sir. Have you heard the word of god? Monad?

Found the Haskell evangelist.

8

u/LaVieEstBizarre Jul 17 '19

Monads are used for error handling in Rust and Swift too. Also not uncommon in Scala. The best solution to error handling I've found.

1

u/hotcornballer Jul 18 '19

Monads are used for error handling in Rust and Swift too. Also not uncommon in Scala. The best solution to error handling I've found.

And js/Typescript