Discussion about this post

User's avatar
Aj's avatar

Why not use either paradigm ?

Andrey Vorobyov's avatar

What you did here is standard in golang. Both exceptions and error returning has pros and cons. It's not one better than other

2 more comments...

No posts

Ready for more?