顯示廣告
隱藏 ✕
※ 本文為 MindOcean 轉寄自 ptt.cc 更新時間: 2020-06-09 09:52:37
看板 Gossiping
作者 powerdavid (hatano yee)
標題 [爆卦] Golang把白名單和黑名單移除
時間 Tue Jun  9 03:10:16 2020


https://go-review.googlesource.com/c/go/+/236857/

簡單來說 Golang把whitelist/blacklist替換成allow list/block list了
也把master/slave這兩個用詞拿掉了 這裡沒寫換成了什麼
原文:
all: replace usages of whitelist/blacklist and master/slave There's been plenty
of discussion on the usage of these terms in tech. I'm not trying to have yet an
other debate. It's clear that there are people who are hurt by them and who are
made to feel unwelcome by their use due not to technical reasons but to their hi
storical and social context. That's simply enough reason to replace them. Anyway
, allowlist and blocklist are more self-explanatory than whitelist and blacklist
, so this change has negative cost. Didn't change vendored, bundled, and minifie
d files. Nearly all changes are tests or comments, with a couple renames in cmd/
link and cmd/oldlink which are extremely safe. This should be fine to land durin
g the freeze without even asking for an exception.
附上Reddit討論串 給大家參考https://www.reddit.com/r/golang/comments/gy9ylr/
Go has removed all uses of blacklist/whitelist and master/slave : golang r/golang: Ask questions and post articles about the Go programming language and related tools, events etc. ...

 

--
給酷~ 給酷~ 給..給酷 給酷 給....啊!!!! 為什麼...為什麼不幫我發大絕極靈~~~~~ (斗
內:果然牛逼反觀斗基督機大神) 啊!!墮!! 啊!!! Double kill!! 巨槌瑞斯 誇爪~~ 哈哈
哈~哈哈哈哈!! 恩ㄣㄣㄣㄣ(轉手 哇!~還敢下來R冰鳥~~ 哇!老爸墮起來~Double kill~
哈哈哈~哈哈哈哈哈哈!! 哇! 哇~嬰兒! 哇! Double kill! 達瑞斯~~~ LALALALALALALALALA
~LALALALA!!!不要不要不要不要不要不要... 有囉!這波有囉~ 哈薩KI!吹起來!聊天室滑起
來!滑起來!!! Death is like the wind always by my side亞索開滑~~ WooWooWooWoo賀賀

--
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.159.180.181 (臺灣)
※ 文章代碼(AID): #1UteqRPL (Gossiping)
※ 文章網址: https://www.ptt.cc/bbs/Gossiping/M.1591643419.A.655.html
yorkyoung: 我不知道你在公三小1F 06/09 03:11
silverair: 避免被講歧視吧 "黑"名單'2F 06/09 03:12
estupid: 這也行!?3F 06/09 03:12
silverair: master/slave 主從,也有人靠北暗示奴隸4F 06/09 03:13
※ 編輯: powerdavid (49.159.180.181 臺灣), 06/09/2020 03:13:07
StylishTrade: 黑道怎麼辦?~~~5F 06/09 03:13
Gangster
snegi: 蒙特內哥羅...6F 06/09 03:13
StylishTrade: 黑天鵝怎麼辦?7F 06/09 03:13
DarkerDuck: 極道,有色天鵝8F 06/09 03:14
silverair: 黑道沒差吧,英文都沒有black9F 06/09 03:14
jshuang: 中文跟起來啊 以後叫什麼10F 06/09 03:16
※ 編輯: powerdavid (49.159.180.181 臺灣), 06/09/2020 03:16:16
snegi: 極道11F 06/09 03:16
StylishTrade: 以後馬路跟輪胎不能做成黑色了 ~~~12F 06/09 03:17
cutearia: ....13F 06/09 03:17
MagicSword: 哇,這是不是矯枉過正了呀?14F 06/09 03:18
bbqomfg: 矯枉過正只會弄巧成拙15F 06/09 03:19
Vincent8026: 黑箱測試以後要改盲測試嗎?16F 06/09 03:19
zainc: 以後白宮要改名叫黑宮媽?17F 06/09 03:21
Ahhhhaaaa: 以後改叫白人名單 黑人名單18F 06/09 03:23
Posaune: black ice這下麻煩了19F 06/09 03:26
leocean9816: 也算革命了八,歐美一堆歷史人物的雕像都被弄倒了20F 06/09 03:31
userpeter:21F 06/09 04:07
wagwag: 這樣blacktea不好改啊 改redtea換印地安人抗議了XD22F 06/09 04:08
rxiang: ...這在改什麼鬼阿23F 06/09 04:10
s0914714: 本來無一物 何處惹塵埃24F 06/09 04:13
KJC1004: 有沒有這麼累 乾脆直接從辭典裡刪掉吧 整天搞政確就飽了25F 06/09 04:27
Dreamerrr: 厲害了 要改的可多了26F 06/09 04:32
diawboris: 改了也沒差的東西為什麼一堆人會機機叫? 疑惑27F 06/09 04:42
laba5566: master/slave 通訊網路 分布系統 幹你娘有種把所有28F 06/09 04:45
laba5566: 有用到的地方/教科書/協議都改掉 操你媽死左派
seraph01: blackmail怎麼辦?30F 06/09 05:02
kurakidream: black pink 也要改嗎31F 06/09 05:03
Sipaloy: 我看到有人推薦改成master/servant,值得參考..32F 06/09 05:50
Sipaloy: 中文統一翻譯成御主/從者...
elliotpvt: 跟外勞改移工有87%像34F 06/09 06:05
FAccounting: 政治正確用到這邊 XDDD35F 06/09 07:11
goto: ...36F 06/09 07:22
internetms52: Black lives matter37F 06/09 07:29
ppc: 笑翻38F 06/09 08:22
ppc: 原來是左派語言
km101km: ...40F 06/09 09:07
rcwang: 可以看看 Clojure41F 06/09 09:32

--
※ 看板: Gossiping 文章推薦值: 0 目前人氣: 0 累積人氣: 404 
分享網址: 複製 已複製
1樓 時間: 2020-06-09 12:45:36 (台灣)
  06-09 12:45 TW
改左名單 右名單
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇