I think it's a mistake to try to apply one language's idioms to another language. I don't write Go the way I would write Java or Python, and I don't write either of them the way I would write Go. Idiomatic Go is idiomatic because it fits with the design and philosophy of Go.
On Monday, January 16, 2017 at 9:58:46 PM UTC-8, so.q...@gmail.com wrote: > > Just curious how often you find yourself applying idiomatic Go patterns to > other languages? (JavaScript, Python, C#, Java) > > For instance returning and handling an error value as opposed to > throw-try-catch. I understand this isn't the best example since try-catch > exceptions are more closely aligned to panics, but I do find myself > returning more error values since using Go. > > > -- 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.