Closed brunocorrea23 closed 1 year ago
We previously had comment counts but removed them in #171 because it wasn't worth the added complexity and overhead. However, if Deno.Kv.count()
is implemented, it'll be worth considering adding this feature back in.
@iuioiua would you be willing to bring this back via an index? Something like a cached comment count on the post object itself?
Slightly likely not. However, I'd be happy to consider a PR that does this without incurring too much of a complexity cost.
It seems this feature would incur a similar complexity cost that voting functionality has incurred on item logic, which has been a bit of a pain point for the codebase, IMO. For that reason, I'd rather not have this feature. WDYT, @brunocorrea23?
Gently pinging @brunocorrea23.
Similar to what Hacker News does (https://news.ycombinator.com/)