top | item 27442255

(no title)

lu4p | 4 years ago

Go error handling works well as is I think most of these proposals add a lot more complexity.

discuss

order

37ef_ced3|4 years ago

Agreed. There's nothing wrong with it

ebingdom|4 years ago

Using product types instead of sum types to represent "success or error" is definitely something wrong with it. Product types should be used for "and", and sums should be used for "or".

thatswrong0|4 years ago

Go doesn't really have error handling.

hactually|4 years ago

Living up to your username eh?