Good day, people. Title is a bit controversial :-)
I want to ask: - how useful `recover` for you? - Don't you think it is a bit "dangerous"? I mean: panic usually means programmer error, so if it happens, then program behaves incorrectly, and there is always a chance of serious state corruption. So, is there reason to recover at all? Also, presence of `recover` complicates implementation of `defer`. I believe, it could be optimized much harder in absence of `recover` (i.e. if program always exits on panic). I could be mistaken. Yura. -- 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. For more options, visit https://groups.google.com/d/optout.