I did think you wrote the original post. My mistake, I have corrected my comment.
Whether YC would want to prevent illegal or unethical behavior is a question I can't answer. I would hope so. But I don't think it's reasonable to put the burden of enforcing various employment posting laws on YC/HN, especially when the laws are new and have jurisdiction questions and exceptions. My reading of the NYC law tells me job boards are not subject to any enforcement -- only the companies posting the job ads have to comply.
I don't object to a discussion about what responsibility YC and HN have in regards to allowing job posts that don't include salary ranges. Personally I would ignore job posts that don't voluntarily include that. I objected to the OP characterizing the job posts from YC companies as "breaking hiring laws." Whether the law was broken or not would require more facts than the OP gave. Maybe the OP didn't name the companies that supposedly "broke hiring laws" out of consideration, but in the original post it seems clear OP intended to call them out in comments but couldn't comment on the posts, not that the OP decided to take the considerate path of not naming them.
Whether YC would want to prevent illegal or unethical behavior is a question I can't answer. I would hope so. But I don't think it's reasonable to put the burden of enforcing various employment posting laws on YC/HN, especially when the laws are new and have jurisdiction questions and exceptions. My reading of the NYC law tells me job boards are not subject to any enforcement -- only the companies posting the job ads have to comply.
I don't object to a discussion about what responsibility YC and HN have in regards to allowing job posts that don't include salary ranges. Personally I would ignore job posts that don't voluntarily include that. I objected to the OP characterizing the job posts from YC companies as "breaking hiring laws." Whether the law was broken or not would require more facts than the OP gave. Maybe the OP didn't name the companies that supposedly "broke hiring laws" out of consideration, but in the original post it seems clear OP intended to call them out in comments but couldn't comment on the posts, not that the OP decided to take the considerate path of not naming them.