Skip to content

Conversation

@3442853561
Copy link

重新整理const and static

  • 修改為一個文件
  • 接受了若干翻譯建議

整理到一個單獨的分支中
接受了若干翻譯建議
增加譯者
更新目錄
rare that you actually want a memory location associated with your constant,
and using a const allows for optimizations like constant propagation not only
in your crate but downstream crates.
當您無所謂選擇哪個的絕大多數時候就選擇 `const` 。 只有極少數的情況下您需要關心
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的理解比較像是 「如果能有選擇,那就優先選 const」(換句話說,除非非選 static 不可不然不要)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

的確是這樣意思,但是我的想法是照顧原文中“Almost always”這個詞,所以就譯出來了絕大多數時候。

16.9.1.12.47 master更新
更新譯者注
修正排版的問題
若干排版問題
@3442853561
Copy link
Author

修正了一些內容和排版問題

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants