Thoughts on the "Guard" Proposal for Go's Error Handling

from blog Lane's Blog, | ↗ original
I found this proposal for improvements to error handling in Go interesting, but still not something I’d be happy to see implemented. Allow me to clear up my thoughts on Go’s errors. Overall, I prefer how Go forces me to think about errors at every turn. When working in try/catch languages like JavaScript, I often easily forget which functions can...