3 ms·
No, Go repeats the same 3 lines of code millions of times that you should never really have to do. There is no reason you should have to constantly throw in err
by ummonk 8y ago
No, Go repeats the same 3 lines of code millions of times that you should never really have to do. There is no reason you should have to constantly throw in err != nil boilerplate when other languages have Optionals that make this automatic (and typechecked too). Likewise with for loops that could be done much more simply with proper maps and reduces.