Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork927
Description
Hi Artem, thanks for this cheatsheet and the A/HC/LC pattern!
I still find it bit ambiguous forremove anddelete when talking aboutrelations instead ofentities. I preferremove being used on a relation, e.g.remove a member from a team. But the termdelete still makes sense if explained as "erasesthe relation from the realms of existence.".
So I'd suggest explaining the difference betweenremove anddelete by looking at their opposite actions -add andcreate. I find the key difference betweenadd andcreate is thatadd needs a destination whilecreate requiresno destination. Readers can get confused when they find something can be eitherremoved ordeletedfrom somewhere, but they will then realize that it can only beadded notcreatedto somewhere.
Take the team member relation as an example, I canadd a member to a team but cannot "create a memberto a team", thusremove is used instead ofdelete.