Isn't this going to invoke `hideComments` for each post?

And then, if I understand this correctly, `hideComments` will run through all all comments and hide them based on the `hidden` flag.

Isn't this going to mean that all comments will be either hidden or shown based on the last value of `hidden`?

Doesn´t it also mean that with 10 posts on the front page, `comments[i].hidden` is going to be assigned 100 times?