Skip to content

Commit 8617df3

Browse files
committed
see the log
1 parent 34db273 commit 8617df3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,14 @@ public class MyClass {
280280

281281
变量名中可能会出现量词,我们需要创建统一的量词,它们更容易理解,也更容易搜索。
282282

283-
例如:`mFirstBook``mPrevBook``curBook`
283+
例如:`mFirstBook``mPreBook``curBook`
284284

285285
| 量词列表 | 量词后缀说明 |
286286
| ------- | ---------- |
287287
| `First` | 一组变量中的第一个 |
288288
| `Last` | 一组变量中的最后一个 |
289289
| `Next` | 一组变量中的下一个 |
290-
| `Prev` | 一组变量中的上一个 |
290+
| `Pre` | 一组变量中的上一个 |
291291
| `Cur` | 一组变量中的当前变量 |
292292

293293

@@ -1152,7 +1152,7 @@ AS 已帮你集成了一些注释模板,我们只需要直接使用即可,
11521152
| escape | esc |
11531153
| icon | ic(主要用在 App 的图标) |
11541154
| increment | inc |
1155-
| infomation | info |
1155+
| information | info |
11561156
| initial | init |
11571157
| image | img |
11581158
| Internationalization | I18N |
@@ -1161,12 +1161,12 @@ AS 已帮你集成了一些注释模板,我们只需要直接使用即可,
11611161
| message | msg |
11621162
| password | pwd |
11631163
| position | pos |
1164-
| previous | prev |
1164+
| previous | pre |
11651165
| selector | sel(主要用于某一 view 多种状态,不仅包括 ListView 中的 selector,还包括按钮的 selector) |
11661166
| server | srv |
11671167
| string | str |
11681168
| temporary | tmp |
1169-
| window | wnd(win |
1169+
| window | win |
11701170

11711171
程序中使用单词缩写原则:不要用缩写,除非该缩写是约定俗成的。
11721172

0 commit comments

Comments
 (0)