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 hn newest 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". load replies (2) thatswrong0|4 years ago Go doesn't really have error handling. hactually|4 years ago Living up to your username eh? load replies (1)
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". load replies (2)
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". load replies (2)
thatswrong0|4 years ago Go doesn't really have error handling. hactually|4 years ago Living up to your username eh? load replies (1)
37ef_ced3|4 years ago
ebingdom|4 years ago
thatswrong0|4 years ago
hactually|4 years ago