4 ms·
We are so close to being in violent agreement. I find that extra bit of information to be crucial you do not. I think you are perhaps discounting the value tha
by zaphar 5y ago
We are so close to being in violent agreement.
I find that extra bit of information to be crucial you do not. I think you are perhaps discounting the value that Go allows you to add in your apis by making the error type explicit which then does tell you what error you might be getting. Go forces the programmer to make the fact that there is an error explicit which is good. If it also forced the developer to be explicit in which type of error it can return that would also be good since it would enforce API boundaries for errors. But I think Go is still ahead of the game compared to Java on this one.
- simiones 5y agoYes, I can see how valuing the error/no error distinction differently can significantly color the whole discussion. So, cheers for finding the point where we actually differ!