作者heartsky7 (心空哥)
看板Eng-Class
標題[請益] 想請教這句話後面的 otherwise fail
時間Sun Nov 13 00:20:53 2016
Use this approach if you need to add a potential failure state
to an existing initialization process that does not otherwise fail.
想請教各位板友~
這句話最後面的that does not otherwise fail.
是勿論如何都不會失敗的意思嗎
前面我的理解是 :
用這個方法,如果你需要增加一個淺在可能會失敗的狀態 在已存在的初始化process上
那這將無論如何不會失敗
請問這樣翻譯對嗎 還是我的理解錯誤了
感謝..
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.238.114.180
※ 文章網址: https://www.ptt.cc/bbs/Eng-Class/M.1478967656.A.3E3.html
→ gentianpan: 這是在講最新 linux 的 compile macro unlikely() 嗎 11/13 09:27
→ gentianpan: ? 11/13 09:27
→ stanley333: 如果你認為一個初始化(不會有失敗)的過程會有失敗的可 11/13 09:47
→ stanley333: 能性,就改用這個(可靠)方法去做 11/13 09:47
推 perist: 都不對 這邊otherwise是"在其他方面"的意思 11/13 10:37
推 perist: 如果你需要增加一個潛在失敗狀態到一個已存在且在其他方面 11/13 10:42
→ perist: 都不會失敗的初始化過程 那就用這個方法吧 11/13 10:42
→ heartsky7: 謝謝樓上各位大大 原來是其他方面 感謝 11/13 22:53
→ heartsky7: gent大 這是Swift的Initialize的章節 11/13 22:54