-
bphogan My general rule is “write obvious code.” I leave comments to help reconstruct the context in which I thought it was obvious (ideally, a rare occurrence), when I know I’m relying on a precondition that isn’t obvious (also, ideally rare), and when I had to optimize.