code: List<Comment> addComment(List<Comment> comments, Comment comment) {
              return comments == null ?
                      List.of(comment) :
                      comments.prepend(comment);
          }
docs: where