最近美國有一個口號 BLM - Black Lives Matter
很多事情都圍繞著這個口號發生
而在程式開發的領域也受到了影響,傳統上常用的whitelist and blacklist被關注,說這樣的用詞不正確,應該用allowlist and denylist
甚至常用的主從架構 master/slave 也受到了挑戰
Google chrome 的開源專案就有一份 commit 是關於此
- Replaced blacklist references with blocklist in components/blacklist
- Replaced whitelist references with allowlist in components/blacklist
- Updated all code that depends on components/blacklist to use new
names and updated the names of any callers that may have been
influenced by the original names.
我的感想是,如果所有的名詞都要避開黑白,原本的詞意也不是指涉種族,那強迫其他人接受這樣的思想不也是一種霸凌嗎?