Go language gets rid of politically incorrect terms whitelist/blacklist and master/slave

To the main codebase of the Go language received change, cleaning from the source texts and documentation of the phrase whitelist / blacklist and master / slave, the rejection of which has intensified against the backdrop of protests raging in the United States. The phrases "whitelist" and "blacklist" are replaced by "allowlist" and "blocklist", and "master" and "slave" are replaced by "process", "pty", "proc" and "control" depending on the context.

The change will not break backwards compatibility and confusion, as most of the fixes are in comments, tests, and internal variables. Replacing master / slave has recently become a common practice, for example, projects got rid of these terms two years ago
Python ΠΈ Redis. The terms allowlist/blocklist are self-sufficient and better describe their essence than the well-established terms whitelist/blacklist, which cut the ears of non-specialists.

It is indicated that the developers are not trying to unleash another debate about terms in technology projects. To get rid of unwanted terms, the very fact of the presence of people whom these phrases offend, make them feel disadvantaged and evoke memories of past discrimination is enough. For historical reasons and in a social context, the use of these phrases in modern society has come to be considered offensive and condemned. Opponents of the renaming believe that politics and programming should not be confused, they are just terms whose meaning is already established in computer technology, and the negative connotation is imposed by artificial notions of political correctness that interfere with the use of plain English.

Source: opennet.ru

Add a comment