I've been told not to assume that a specific person downvoted my post just because they commented at the same time the downvote came in.
Why not?
I've been told not to assume that a specific person downvoted my post just because they commented at the same time the downvote came in.
Why not?
First, let's get this out of the way: Of course that's going to be your first instinct. It's only natural. But there are at least three reasons why making that assumption isn't useful:
The assumption serves no positive purpose. It doesn't help you in any way to make this assumption. In fact, it can easily lead you into taking actions with negative outcomes, such as making a negative comment to the person you think downvoted the post, which in turn can make that person (and others) look negatively on your conduct, which can color their view of your post (rightly or wrongly, humans are like that). A sufficiently vigorous comment may get flagged as offensive, and a series of such flags can impact your ability to post comments in the future.
Correlation is not causation. Just because X happens before Y, it doesn't mean X caused Y, and it doesn't mean that X and Y have the same cause. Stack Overflow is a very active place. Lots of eyeballs on the same posts, lots of fingers on mice hovering over the same vote buttons. So it's not at all surprising if a post gets a vote and a comment from two completely unconnected people. (And don't rely on that "Viewed one time" indicator; it's updated in a quite lazy fashion.) In fact, I know from long experience of posting comments (without downvoting) and getting this reaction that it's often not the same person. Someone downvoting may specifically decide not to make a comment at the same time, to avoid being assumed to be the downvoter.
It's a distraction from the question you should be asking. The real question shouldn't be "Why did X downvote my post?" but rather "Why did someone downvote my post?" which can be reformulated into "How can I improve my post?" Read the comment and decide if you think it's a valid critique. If it points you at a help page or similar, read the help page. Review the post with a critical eye to see if you can figure it out. If appropriate, post a comment asking what's wrong with it and/or how you can improve the post. (I've had good success with that when I've posted a duff answer. For whatever reason, two or three people will downvote, I'll fail to see why, ask, and someone will then helpfully point out what I've missed.)