Hacker News new | ask | show | jobs
by ericmcer 129 days ago
I wouldn't call it good, but Go was designed for applications performing large numbers of concurrent processes. It is really easy to just wrap a block of imperative code in a try/catch, but it becomes much more difficult when you have a bunch of different goroutines communicating over channels producing outputs at indeterminate times. Like you need bespoke error handling for every use case, you can't just say: "400 try again later".
1 comments

Python has async and try blocks, what's the problem with having both exactly?