Comment by chamomeal
5 months ago
I do actually love returning errors in TS. It solved most of the problems I have with error handling.
5 months ago
I do actually love returning errors in TS. It solved most of the problems I have with error handling.
Yes not terrible, I think throwing is often worse. I do think that Golang forcing you to deal with Errors immediately is just a bit extreme, sometimes it’s nice to have a choice or create abstractions about how to handle them.