News for hackers. Stuff that matters.
Re:Upcoming Features in Go 1.18 by morelisp on Tuesday November 09, 2021 @01:21PM (#29165291)
Yeah, this is fine for like "unable to contact database server" or "kafka producer timeout" where you're gonna terminate a large portion (or all) of the application at a much higher, removed level. "Lifecycle" stuff.

But if you make the short syntax do something like this, it's gonna get used for hundreds of library's equivalents of `Atoi` or `ParseQuery`. I don't need line annotations on my `http.ResponseWriter#Write` timeouts, they're slow enough already.

(And if you are going to do it - really, just attach the whole stack trace then and there, it will probably be faster.)

There are no comments on this comment yet.