

How is that useful? Because if your answer is “I boycott devs that have type errors”, I got bad news for you. Unless you’re working on mission critical systems, like pace makers, airplanes, spacecraft, financial systems, etc, sinking the necessary engineering time to 100% prevent those kinds of errors is a bad business decision.
An error message should either be instructions for the user, or something they copy-paste into a bug report (or equivalent). That’s it.



When I first started using Go I bemoaned the lack of true inheritance and classes. Now I love it.