Stanford University. Photo: Jason Doiy / ALM the best ways gender inequality a lack of diversity at tech companies. safe and equal "The best time to implement policies on sexual harassment is when you don't have a problem," said Kirsten Mellor, the general counsel of Udacity. "Then people don't take it personally. They don't get defensive." "We've had a case of misbehavior, and we've used that as an opportunity to remind people that it is not OK and this line can't be crossed ," she explained, adding it's better to acknowledge the issue so that people can grow from it and do better. "Because if one were only to impose sexual harassment [policies] as it's defined by law, you're going to destroy your culture in the process," Liu said. "Most organizations would not tolerate behavior that falls short of harassment but is not keeping with their values." "[It's] important that everyone plays a key role in being an ally in this conversation," Liu said.