If a qualification for the role is "appreciation for certain less represented cultures/ideas/..." then sure. Otherwise, for a backend c++ engineer the benefits are significantly less obvious, to the point it's really hard to make a case for why DEI concerns should trump traditional evaluation metrics for skill.
The goal should be to hire the best team for the use case, regardless of gender/race/culture/background.
The goal should be to hire the best team for the use case, regardless of gender/race/culture/background.