Stack Overflow prevents comments from being edited after the 5 minute mark. However, the edit button is not removed until the page is refreshed. In other words, if I post a comment and wait 6 minutes, I still have the option to edit that comment. And if I do edit that comment, it is only after I submit my changes that SO presents the error, "Comments may only be edited for 5 minutes."
Why allow users to edit after this 5 minutes is up? Having an edit button that is clickable implies that when I submit my edit, everything will go through. Having an edit button present after 5 minutes and that only throws an error after I submit my edit seems like very poor feedback.
The age of the comment is updated constantly without requiring a refresh. So why can't the edit button be updated as well? Hide it? Even showing me the message as soon as I click edit would be better.
feature-request
, you're right that if does look like a strange way to handle edits.