2 ms·
Going to say my crazy thing that I like to do: extension String: Error { } Because I like doing this: throw “Something went wrong” Admittedly I do
by nielsbot 1y ago
Going to say my crazy thing that I like to do:
extension String: Error { }
Because I like doing this:
throw “Something went wrong”
Admittedly I don’t use this in shipping software.
As for the feature: My “hot take” is: I’m skeptical this will really make software better and I suspect instead programmers will just spend more time designing error types and error handling than just creating software.