zlacker

[parent] [thread] 1 comments
1. chamom+(OP)[view] [source] 2025-08-23 16:58:36
I do actually love returning errors in TS. It solved most of the problems I have with error handling.
replies(1): >>andy_p+oq1
2. andy_p+oq1[view] [source] 2025-08-24 09:24:29
>>chamom+(OP)
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.
[go to top]