2 ms·
Oh I'm firmly in the monadic error return camp. Its just a misnomer that go doesn't have exceptions. It has both exceptions and by convention error returns.
by kasey_junk 9y ago
Oh I'm firmly in the monadic error return camp. Its just a misnomer that go doesn't have exceptions. It has both exceptions and by convention error returns. Its sort of the worst case scenario.
I will say that there is some good post compiler tooling around making sure that error handling isn't skipped but its definitely a weakness of the language.