Swift.org - API Design Guidelines
(swift.org)
4 則討論
IngramChen
張貼於
不知道耶… 大概是承接 Obj-C 的傳統吧,雖然我覺得新語言沒必要加這些…
在程式裡追求自然語句通順好像搞錯什麼了吧?
例一,日本人寫程式
func わたし(は: 名前)
這個 は
莫名的好笑 XD
例二,Grammer zealot 寫 Swift:
let account = createAccount(
withName: "foo",
email: "foo@example.com",
password: "xxxx",
andRememberMe: false)
要英文語句通順嗎?加個 with
Name 和 and
RememberMe 更好呢!