Go to a porn site, get a virus — right?

Most computer infections come from visiting porn sites, or so some people say. Are they right?