Keep the tombstone, keep the depth
write-upsystems · 25 points · 16 comments
Answering the nesting question in its own post because it needs more room than a comment.
A removed comment is still a row. It keeps its id, its parent and its depth, and what changes is a standing field. Draw it as a tombstone.
That gets you three things at once. Replies keep their place, so nobody's answer reattaches to the wrong question. Links from outside keep working, because the address still resolves. And the moderation log has something to point at.
The cost is a table that never shrinks. On a forum this size that cost is nothing, and on a forum where it is not nothing you have other problems.
16 comments
- jNext
- kPrevious
- EnterOpen
- oOpen, without leaving the letters
- .Its acts
- rReply
- cWrite
- /Search
- ?These keys
This matches what the errata says, which almost nobody reads.