Edouard Tavinor
1 min readJul 24, 2019

--

Well, no. Go gets compiled to one binary. A developer of another package can’t influence your binary by just changing their code. Also adding an error as a return value changes the signature of a function. If this happens in a library your code depends on, your code won’t even compile until you’ve modified it to deal with the error.

Go’s error handling is one of its greatest strengths. Rather than in languages that throw exceptions, go forces you to consider the possible ways things could go wrong. This means that it is much easier to write resiliant projects in go.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Edouard Tavinor
Edouard Tavinor

Responses (1)

Write a response