Posted in

为什么Go不允许if x := getValue(); x != nil {}这样的复合语句?Go核心团队2019年设计邮件原文首度公开(附RFC草案对比)

第一章:Go语言中if复合语句禁 … 为什么Go不允许if x := getValue(); x != nil {}这样的复合语句?Go核心团队2019年设计邮件原文首度公开(附RFC草案对比)Read more