|
|
|
|
|
by crdoconnor
3195 days ago
|
|
I've found a better approach to comments is not to put them in at all. Then, you raise a PR, have a code review, and whatever the other developer is confused about that you had to explain to them - that's where you needed a comment and what you explained to them is what the comment should be. Developers who have their "head in the code" will almost always (unless they are very smart and very empathetic) fail to realize what is hard for other developers to understand because they will fail to accurately model to context which the other developer has. |
|