4 ms·
Go’s unreasonable success is due to Google but also its main feature: low up front cognitive load. A lot of that is from lack of async, or rather that async is
by api 2y ago
Go’s unreasonable success is due to Google but also its main feature: low up front cognitive load.
A lot of that is from lack of async, or rather that async is hidden behind go routines.
- catlifeonmars 2y ago> A lot of that is from lack of async, or rather that async is hidden behind go routines. That’s an interesting take, but one that I’ve seen in multiple places in this thread. I find that introducing goroutines into a program immediately increases the cognitive load as now you need to think about joining, data races, and need to think about error handling differently (golang.org/x/sync/errgroup is an excellent library by the way). Oh and did I mention deadlocks?