3 ms·
> Or how about when it says "18 more replies" and I click on it and there's only one reply? Can't javascript count? This one is actually a reddit quirk. The AP
by overlordalex 6y ago
> Or how about when it says "18 more replies" and I click on it and there's only one reply? Can't javascript count?
This one is actually a reddit quirk. The API reports the number of comments, however doesn't take into account removed comments, or users that have been shadow-banned.
However users notice and complain about this constantly, so it still needs to be improved
- jazzyjackson 6y agoActually I just noticed this on Facebook too, especially comments on ads it will say "16 comments", but even when I select from the dropdown "All Comments" instead of "Most Relevant" I can count 10 comments. So it's querying an API to ask how many comments there are, and getting a different result when it actually fetches the comments. So there's two different SQL queries somewhere I get that, but how can they diverge so much, is there a team assigned to "Queries that count comments before showing them" and a different team assigned to "queries that show comments" ? It's just so frustrating as a developer to see the same broken behavior all over the largest web properties.