Open chanyijuan opened 2 years ago
The reason we have addClient instead of add is because we also have addProc, so we need to rename to distinguish these two commands. The same goes for list too. (and clear has only one variant, so it's clear)
Team chose [response.Rejected
]
Reason for disagreement: By the team's reasoning, their commands edit
and editProc
also do not seem to follow the rule of "only one variant" existing.
Although there is only one clear
command, because there is a clear distinction between client and procedure-related commands (add
, delete
), I feel that it is easier for users to use the platform if all commands follow the {action}{Target} naming convention.
Am curious as to why some commands have specified the object the command works on whereas other commands are simply a verb. For example, there is only one command related to 'adding', so why the need to specify 'addClient', while there is also only one command related to 'listing', so why not 'listClient'? Or why not just 'add' instead of 'addClient'? I think the application would look much more polished and consistent if commands had the same structure.
Naming convention suggestion: listClient (list), markClient (mark), clearClient (clear)