Quotas are never good - regardless of whether it is for diversity or something else. Even when you are writing code and if you are doing quota for something, it's a signal that you have a crappy design and quotas is going to only make it more crappier. The solution to crappy design is to attack the root problem and make sure your algorithms are fair so there is no need to impose quota.