To clarify, the Java like/runtime reference I made does not strictly refer to startup costs - I am also referring to runtime costs as in additional threads for GC, housekeeping, overall binary size, etc. I don’t think ‘single shot, short lived processes’ are the typical Go paradigm - they are usually larger , multi layer, long lived “server” processes. It’s my opinion that Gos error handling is a problem for these types. I am not saying it can’t be done but it’s harder to design/deliver/maintain.
Exceptions (used properly) provide a lot of information when reading the code. I don’t get the same feedback with Gos error returns. > On Feb 18, 2021, at 5:13 AM, 'Carla Pfaff' via golang-nuts > <golang-nuts@googlegroups.com> wrote: > > >> On Thursday, 18 February 2021 at 09:34:35 UTC+1 Amnon wrote: >> OT, but what has happened to the Go 2 error handling proposals? >> I heard that the original check proposal was abandoned because of the >> unfortunate interaction with defer. >> >> Any updates? > > After the "check" proposal the Go team made another proposal, the "try" > proposal, but it was rejected as well. Now error handling is on the > back-burner and they are focusing on generics: > https://github.com/golang/go/issues/32437#issuecomment-513002788 > "Also, realistically, since we don't have unlimited resources, I see thinking > about language support for error handling go on the back-burner for a bit in > favor of more progress on other fronts, most notably work on generics" > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/c60af668-55d6-4977-a746-b04dbc67e31an%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/FA07FB86-4563-46BA-8885-F94C95E6141E%40ix.netcom.com.