Re:Why I love Go
by junke on Wednesday December 06, 2017 @05:08AM
(#15859927)
That means that you better have safe defaults in a language, rather that opt-in linters.
[ Parent
| on HN ]
More safe defaults also means I have to think more about escape hatches. Sometimes ignoring an error is the intended way of operation, although rare. Same goes for some other parts of the go coding standards. Sometimes you need to violate them and having to first use some escape hatch like Rust's unsafe is annoying.
I'd rather just keep track of linter complaints.
Yes, ignoring an exception is an explicit move when the default mechanism is to abort execution. Since it is rare, I don't see a problem.
> I'd rather just keep track of linter complaints.
Do you dislike "unused variables" being compilation errors, too?