Coming from Python, as an amateur dev, error handling in Go was annoying as hell. But I had no other choice so I went for it.
Afer a few programs I realized I never really thought about error handling - Go forces you to decide where you want to handle your error, where to inform about it etc.
It is still annoying (especially the boilerplate) but it had a net positive value for me in terms of learning.
Afer a few programs I realized I never really thought about error handling - Go forces you to decide where you want to handle your error, where to inform about it etc.
It is still annoying (especially the boilerplate) but it had a net positive value for me in terms of learning.