On Mon, 1 Jul 2019 12:33:16 +0200 Henrik Johansson <dahankz...@gmail.com> wrote:
> That is one big strawman. I can live without "try" but > I think it would be a net gain for the language. I think it would be not. While anyone who consider 'try()' func being awkward and full of traps need not to use it in her code, everyone will have to cope with it while reading others code. Here lie dragons. 'Try()' might end as the first and topmost position on Go's "WE DON'T" blacklist. So it will waste Go team's time on implementing then maintaining, then every sane Go shop will forbid it. (As it happened to C++ exceptions and many other C++ 'features' -- I'd seen 'we-dont' lists with over dozen positions). TC, -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- 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/20190701125733.4c41b9b2%40zuzia. For more options, visit https://groups.google.com/d/optout.