News for hackers. Stuff that matters.
Re:Dad and The Ten Commandments of Egoless Programming (2012) by evincarofautumn on Saturday March 14, 2015 @09:51PM (#9205024)
I agree. My preferred phrasing uses “we” (we are working on this code together) instead of “you” (you are working on this code and I am telling you off) and is usually a sort of polite suggestion with concrete justification. For example:

Another thread could have modified ‘x’ between when we test the condition and when we take the lock, so we should test that ‘x’ is ‘NULL’ if ‘y’ is true here, and if not, sleep and retry.

There are no comments on this comment yet.