Recently a user commented on one of my posts, pointing out an issue of redundancy in my code.
As it turns out I've been writing small amounts of unnecessary code (for many years now), and since being prompted to read the documentation properly this knowledge has been a welcome time-saver.
I want to award a bounty to the user but obviously one can't do so on a comment.
What's the appropriate thing to do in this situation? Should I hunt out a particularly good answer this user has posted at some point and award a bounty on that instead? Or is that discouraged?