- What are nested comments?
- How do you handle nested comments?
- How to add nested comments in Java?
- Can comments be nested in HTML?
What are nested comments?
When someone comments on a previous comment, a “nest” is created. The first comment shows normally, but then the replies to the comment are categorized directly underneath the original comment.
How do you handle nested comments?
Nested comments are usually a sign that you are using comments wrong. The most common example is commented-out code that contains comments itself, and the fix is to remove the code instead of commenting it out.
How to add nested comments in Java?
To produce a nested comment thread, you first need the comment system to be capable of referring a comment to the ID of a parent comment. This is pretty standard so you likely have that already.
Can comments be nested in HTML?
nested-comment-thread-html
Nested comment thread allows you to create a nested comment and sub-comment chain in Vanilla JavaScript.