2 ms·
I have sympathy for your position, but you don't even need exceptions. Go uses a tuple for error handling. As you say the compiler can't help you avoid Schröd
by eru 3y ago
I have sympathy for your position, but you don't even need exceptions.
Go uses a tuple for error handling. As you say the compiler can't help you avoid Schrödinger's errors. If Go instead had used something like Rust's `Result` and had given you the tools necessary for dealing with generics, then most of your objections would go away.