The alternative is anonymous comments, which usually lead to a significant drop-off in the quality of discussion.
I think "Let the users see what they're getting into before registering" is a more accurate description.
However, I noticed that YC did not ask for my email address, so it was not a painful way of registering. Also, you can read the news without an account.