If it is as bad as "every sane Go shop" comes to this conclusion then I am sure "try" will not be added...
On Mon, Jul 1, 2019 at 12:57 PM Wojciech S. Czarnecki <o...@fairbe.org> wrote: > 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. > -- 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/CAKOF695i%3Dnu8W2ujL6RQ_VNEQjHAjP9HAHarz5p4UnQJzNJYyg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.