These questions involve the practice of commenting on another user's code-golf answers to suggest a shortening of the code.
Which of these are polite? Which are best practices?
- Commenting on an answer to indicate that a shorter solution in the same language has been posted (for example, this Perl 5 answer to FizzBuzz has more votes than this one despite being longer)
- ...if the shorter answer is one's own (assuming it's different enough)
- Giving credit to a user who suggests an optimization (e.g. in my answer here):
-1 byte by Dennis
- Upvoting an answer because one suggests an optimization for it, to 'cancel out criticism'