3 ms·
> One big flaw in Go-style `defer` is that error handling and scoping are an afterthought.... Like many other things in Go's approach to language design, still
by pjmlp 2y ago
> One big flaw in Go-style `defer` is that error handling and scoping are an afterthought....
Like many other things in Go's approach to language design, still better than using plain old C, though.
- antics 2y agoYes, for better or for worse, I think the ethos of Go is pretty much "a mulligan on C". Every C project re-implements a bespoke hash table, struggles with Unicode strings, spends a lot of time on memory management, gets tripped up on dynamic linking, and so on. If otherwise like C but are tired of those things, guess which language is perfect for you?