forked from extern/naming-cheatsheet
Merge pull request #42 from kettanaito/ahclc-confusion
Replaces confusing "getPost" with "getUser" in A/HC/LC pattern
This commit is contained in:
commit
8daa171941
@ -135,8 +135,8 @@ Take a look at how this pattern may be applied in the table below.
|
||||
|
||||
| Name | Prefix | Action (A) | High context (HC) | Low context (LC) |
|
||||
| ---------------------- | -------- | ---------- | ----------------- | ---------------- |
|
||||
| `getPost` | | `get` | `Post` | |
|
||||
| `getPostData` | | `get` | `Post` | `Data` |
|
||||
| `getUser` | | `get` | `User` | |
|
||||
| `getUserMessages` | | `get` | `User` | `Messages` |
|
||||
| `handleClickOutside` | | `handle` | `Click` | `Outside` |
|
||||
| `shouldDisplayMessage` | `should` | `Display` | `Message` | |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user