I'll sometimes see I got upvoted, and I'll notice it wasn't one of my recent comments (since my recent comments will all be 1 karma).
If the feedback loop between knowing a comment was upvoted is short, sure, that encourages trying to get upvotes (rather than trying to make good discussion). But I think it'd be good to see what old comments I wrote people thought were worth upvoting.