Re:Go’ing Insane: Endless Error Handling
by tored on Tuesday September 14, 2021 @07:20AM
(#28523010)
try/catch can be as much as verbose
[ Parent
| on HN ]
Re:Go’ing Insane: Endless Error Handling
by vips7L on Tuesday September 14, 2021 @07:57AM
(#28523346)
That’s only if you’re actually handling your exceptions. The author of the post isn’t handling errors he’s just propagating.
When just propagating, exceptions have no verbosity:
foo();
bar();
baz();