News for hackers. Stuff that matters.
Re:Go is Google's language, not ours by szuze on Wednesday May 22, 2019 @04:32AM (#19979112)
If you give Go to the community, the community will add exceptions... yuck.
Re:Go is Google's language, not ours by josefx on Wednesday May 22, 2019 @09:09AM (#19980741)
Go already has panic/recover which where explicitly proposed as an exception like mechanism for go.
Re:Go is Google's language, not ours by BrandoElFollito on Friday May 24, 2019 @05:29PM (#20005444)
The convention in the Go libraries is that even when a package uses panic internally, its external API still presents explicit error return values. -- https://blog.golang.org/defer-panic-and-recover

I belive this means that using this mechanism similarly to try/except in Python is not possible (I write 20 lines in go so this is quite a wild guess)

Re:Go is Google's language, not ours by baby on Wednesday May 22, 2019 @11:07AM (#19981987)
And generics, ew