IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

Twitter becomes the latest firm to ditch problematic coding terms

Dismantling structural racism 'will take more than just a couple of cosmetic code changes', warns Scale Factory CEO

Twitter is dropping the terms "master", "slave" and "blacklist" in favour of more inclusive language in its programming. 

The social media site is following in the steps of a number of tech firms that have already pledged to ditch the terms in light of the black lives matter protests.

The terms are very common in programming, with "master" referring to the main version of code that often controls other "slave" protocols. "Blacklist" is a label for items that are automatically denied or for forbidden websites. These were included in a set of words posted by Twitter's engineering division that it will remove on the recommendation of two of its black engineers, Regynald Augustin and Kevin Oliver.

DevOps specialist The Scale Factory removed references to master and slave in its code a few years ago. The company's CEO and CTO Jon Topper told IT Pro that it was fairly straightforward to change the names of variables and methods in its own code and configuration files, but it wasn't possible to entirely remove this language.

"If you're working with MySQL replication, for example, that software itself uses master/slave terminology and so it has to appear in your code too," Topper said. "Renaming Git branches from "master" to "main" is similarly straightforward, though might require changes to CI servers and other systems you work with.

"The real question here is whether, as an organisation, you're also working on the human side of the problem. Dismantling structural racism in our organisations will take more than just a couple of cosmetic code changes... I've heard black voices say that it's good to challenge our use of this language in tech, but way more that say this isn't enough on its own. We all need to do better."

Related Resource

Your comprehensive guide to low-code

The missing component of your digital strategy - for developers and CIOs alike

Download now

There have been calls within the tech industry to drop the terms long before the death of George Floyd and the black lives matter protests. In 2018, Red Hat programmer Victor Stinner issued a change request for avoiding the terminology in Python, which is often thought of as one of the world's most popular programming languages.

"For diversity reasons, it would be nice to try to avoid 'master' and 'slave' terminology, which can be associated with slavery," he wrote, also citing a number of complaints in the thread.

Despite a heated debate breaking out, with some Python developers suggesting that only "slave" should be removed because they didn't deem "master" an offensive term, Stinner's request was upheld. "Slaves" was subsequently changed to "workers" or "helpers", while "master process" was changed to "parent process".

CNN reported back in 2003 about a discrimination complaint concerning the use of the words "master" and "slave" on a videotape machine in Los Angeles. The complaint led to a request from County officials for electronics manufacturers to remove the terms from their products when doing business in the county.

Featured Resources

Activation playbook: Deliver data that powers impactful, game-changing campaigns

Bringing together data and technology to drive better business outcomes

Free Download

In unpredictable times, a data strategy is key

Data processes are crucial to guide decisions and drive business growth

Free Download

Achieving resiliency with Everything-as-a-Service (XAAS)

Transforming the enterprise IT landscape

Free Download

What is contextual analytics?

Creating more customer value in HR software applications

Free Download

Most Popular

Open source packages with millions of installs hacked to harvest AWS credentials
hacking

Open source packages with millions of installs hacked to harvest AWS credentials

24 May 2022
Europe's first autonomous petrol station opens in Lisbon
automation

Europe's first autonomous petrol station opens in Lisbon

23 May 2022
Nvidia pauses hiring to help cope with inflation
Careers & training

Nvidia pauses hiring to help cope with inflation

23 May 2022