Re:Lies we tell ourselves to keep using Golang
by Seb-C on Tuesday November 26, 2024 @08:44AM
(#42245655)
I agree about implicit exceptions, but I think that there is a sweet spot with explicit exceptions like Swift (and maybe Java): where you cannot not-handle one, it is part of a function's signature, and the syntax is still compact enough that it does not hurt readability.
[ Parent
| on HN ]
Re:Lies we tell ourselves to keep using Golang
by therealdrag0 on Wednesday November 27, 2024 @12:44AM
(#42253286)
I think checked exceptions are noise. They usually never provide value, and are often just caught and rethrown as runtime exceptions to avoid the boilerplate. Scala did right to remove them.