Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRUD: Delete: 消除、刪除(remove, delete, erase, cancel, dismiss)該用哪個字? #10

Closed
twy30 opened this issue Jul 10, 2020 · 4 comments · Fixed by #32
Closed
Assignees

Comments

@twy30
Copy link
Contributor

twy30 commented Jul 10, 2020

原題目:「消除、刪除(remove, delete, erase, cancel, dismiss)該用哪個字?」


原題出處:

https://www.ptt.cc/bbs/Soft_Job/M.1594363672.A.7D0.html

→ yyc1217: remove delete erase cancel dismiss

@twy30 twy30 changed the title 消除、刪除該用哪個字? 消除、刪除(remove, delete, erase, cancel, dismiss)該用哪個字? Jul 12, 2020
@jason90929
Copy link

jason90929 commented Jul 15, 2020

我的作法,供參:
delete:物件中移除某一 key, value(JavaScript 保留字的 delete object.key)
remove:陣列中移除某一筆資料
erase:未使用過,從字義上認為是清空某筆資料但記憶體位址保留
cancel:取消某個進入排程的服務,讓其回復至草稿階段或就緒階段;另一個接近的字為 stop,停止當前服務,差異大概是 cancel 會將進度 50% 返回至 0%,stop 則停留在 50%
dismiss:開啟 modal 後將其關閉,同義字 close

@twy30
Copy link
Contributor Author

twy30 commented Jul 15, 2020

@jason90929

我的作法,供參:
delete:物件中移除某一 key, value(JavaScript 保留字的 delete object.key)
remove:陣列中移除某一筆資料
erase:未使用過,從字義上認為是清空某筆資料但記憶體位址保留
cancel:取消某個進入排程的服務,讓其回復至草稿階段或就緒階段;另一個接近的字為 stop,停止當前服務,差異大概是 cancel 會將進度 50% 返回至 0%,stop 則停留在 50%
dismiss:開啟 modal 後將其關閉,同義字 close

cancel vs. stop

這裡的對比很有意思 👍

讓我想到了更多相關字: abort, pause (以及對應的 undo/redo, re-try, resume, continue)

dismiss vs. close

或許可以這樣說, dismiss 可以是「有意識地 (1) 檢查(examine)某資訊(warning, error)後 (2) 決定打發掉該資訊 ("close" 該 modal) 」。

@twy30 twy30 pinned this issue Jul 26, 2020
@twy30 twy30 self-assigned this Jul 26, 2020
@twy30 twy30 changed the title 消除、刪除(remove, delete, erase, cancel, dismiss)該用哪個字? CRUD: Delete: 消除、刪除(remove, delete, erase, cancel, dismiss)該用哪個字? Jul 28, 2020
@twy30 twy30 linked a pull request Aug 1, 2020 that will close this issue
@twy30 twy30 closed this as completed in #32 Aug 1, 2020
@twy30
Copy link
Contributor Author

twy30 commented Aug 1, 2020

Done.

@twy30 twy30 unpinned this issue Aug 1, 2020
@twy30
Copy link
Contributor Author

twy30 commented Aug 7, 2020

@jason90929

cancel:取消某個進入排程的服務,讓其回復至草稿階段或就緒階段;另一個接近的字為 stop,停止當前服務,差異大概是 cancel 會將進度 50% 返回至 0%,stop 則停留在 50%

之前 "cancel, dismiss" 的討論,最後是往前端設計的方向發展 (*1) ;就後端來說,我開了新的討論串: #36


*1:

https://bit.ly/2XazA2P

讀者問題: Cancel vs. Dismiss (前端設計)

  • Cancel 「取消」
    • 適用於「讓使用者選擇停止、放棄正要進行的動作」
    • 例如:「『發佈文章?』 Cancel (取消 👎 ) / OK (確認 👍 )」
  • Dismiss 「廢棄某想法 / 屏除、遣散某人」
    • 適用於「讓使用者打發掉提示、提醒、警告、錯誤訊息」
    • 例如:「『__首家線上賭場上線啦!』 Dismiss (朕知道了 🧐 )」

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

Successfully merging a pull request may close this issue.

2 participants