Code comments
summary
Claims that comments must be treated as live code and kept in sync with changes, or they mislead: example of a deleted-user-by-username comment left after switching to user ID, and a soft-delete that makes a delete call silently no-op. Labels common failures as stale comments and apology comment hacks copied from StackOverflow. Recommends using XML comments for public APIs only, preferring self-documenting names, splitting complex methods, and keeping a separate note when a real justification is required.
AI-written summary · about
