The most sophisticated form to evolve is to damn with faint praise. An example would be, "For a woman, she's a surprisingly good coder."
The term coined for that is "microaggression." To many of us, the put-down hardly seems subtle. But it's being perceived as such. Corporate Counsel covers this phenomenon. So far, not too much litigation has been generated, contending microaggression. Here is the CC reporting.
In the near term, what employers and schools have more to worry about is the hits to their brandname or organizational reputation as well as the decline of trust among workers. If the rumor gets out that media outlets focused on high-tech has microaggression against female employees, they could be dragged through the public relations mud. Also, internally, all employees, not just women, will be on guard about who's next to be insulted in what might be called a "Praise Sandwich."