Re:Lies we tell ourselves to keep using Golang
by LinXitoW on Tuesday November 26, 2024 @06:50AM
(#42244883)
I'd argue that at least checked exceptions also require a conscious decision from you. You either need to add the Exception type to your throws clause, or your catch clause.
Compared to Go, this is actually better because the type system can tell you what kind of errors to expect, instead of just "error".
Compared to Go, this is actually better because the type system can tell you what kind of errors to expect, instead of just "error".