5 ms·
I write Go every day, I was going to rant about the author being annoyed minor things (that do not annoy me conveniently), and then it struck me- I'm extremely
by voidlogic 14y ago
I write Go every day, I was going to rant about the author being annoyed minor things (that do not annoy me conveniently), and then it struck me- I'm extremely annoyed by the author wasting a line every time he repeats his code rather than doing this (or something similar depending on case):
if _, err := ioutil.ReadFile(path); err != nil {
return nil, err
}
Then I realized, programmers as detailed people are easily annoyed, because small details often matter. But in both the case of the author, and myself here, we need to realize when it truly doesn't matter.
Sure these Go behaviours might annoy him, but they are important for large code bases and are easily worked around. Sure, repeating am overly verbose block several times annoys me, but the seven extra lines of code does not make him unreadable or incorrect-
Here is too not sweating the small stuff.
- stcredzero 14y ago> Here is too not sweating the small stuff. 3 letters of irony here.
- voidlogic 14y ago:)