|
|
|
|
|
by AnimalMuppet
1740 days ago
|
|
Have you ever written some text, and re-read it, and it sounded just right, and had someone else read it, and they said "what does this mean"? Sometimes the words you write are sufficient to trigger in your own head the thoughts you've already had, but not enough to make someone else think those same thoughts. Code can be like that, too. You write code, and it's enough to convince you that it does what you think it does. But someone else reading it can sometimes see the holes that you don't see. Assuming that person X writes bug-free code is bad, whether X is "you", "me", or "that co-worker". I don't have to be better than the PR author. I just have to be decently good, and be a different person. That's enough. And of course I'm looking for bugs. That's the absolute first thing to look for! Now, true, if I can help the author be able to see their own bugs (asking questions, maybe), then that's probably better than me just lecturing them. Teach them how to think so that they can see it themselves next time. |
|