faker icon indicating copy to clipboard operation
faker copied to clipboard

Clarify usages of sex vs gender

Open griest024 opened this issue 3 years ago • 0 comments

Clear and concise description of the problem

The codebase names variables as gender but the values are used as male and female. "Male" and "female" are sexes not genders. Some locale name definitions are organized by sex but also have references to gender. https://github.com/faker-js/faker/blob/44628ecbbf8967c3a1313c6abfc62ad653cafe29/src/locales/en/name/binary_gender.ts#L1

Suggested solution

We need to understand the distinction between sex and gender and decide what role they should play in the organization of name definitions. Variable names need to be updated to reflect exactly what kind of values they can hold and in what context they should be used.

Alternative

No response

Additional context

No response

griest024 avatar Jan 29 '22 16:01 griest024