Unnecessary gender-specific terms in code

Bug #1250685 reported by Alex Valavanis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
jazzynico

Bug Description

Time for me to put on my hippy liberal hat and point out a style error in our code... There are a few places where we use gender-specific variable names for no good reason, for example:

src/ui/tools/spray-tool.cpp:442: father = item1;
src/ui/tools/spray-tool.cpp:449: SPDocument *doc = father->document;
src/ui/tools/spray-tool.cpp:451: Inkscape::XML::Node *old_repr = father->getRepr();
src/ui/tools/spray-tool.cpp:454: Geom::OptRect a = father->documentVisualBounds();
src/ui/tools/spray-tool.cpp:466: // duplicates the father
src/ui/tools/spray-tool.cpp:503: // Ad the clone to the list of the father's sons
src/ui/tools/spray-tool.cpp:505: // Generates the link between father and son attributes

Conversely, a quick search for "mother", "daughter", "mom", "mommy", "mummy", "mum", "she" and "her" turns up nothing! Why are some of our variables male but none are ever female? Why do they only have male children?

If we want to be an inclusive project that is as attractive as possible to as many different people as possible, we have to avoid this kind of thing. These variables could easily be changed to gender-neutral names. Some simple examples that apply to our code:

dad -> parent
daddy -> parent
father -> parent
son -> child

I appreciate that this may not seem immediately important to existing contributors, but all these little unintentional quirks add together to create the message that "open-source software is a man's place", thus potentially alienating 50% of our possible contributors. Besides, it's a very easy fix!

Further reading:

[1] http://writingcenter.unc.edu/handouts/gender-sensitive-language/
[2] https://www2.stetson.edu/secure/history/hy10302/nongenderlang.html

Tags: code-design
Revision history for this message
jazzynico (jazzynico) wrote :

Agreed. 100%.

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Triaged
jazzynico (jazzynico)
tags: added: code-design
jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
milestone: none → 0.91
jazzynico (jazzynico)
Changed in inkscape:
status: Triaged → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Should be fixed revision 12997.

Changed in inkscape:
status: In Progress → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.