在 GitHub 上搜了下这两种用法,发现数量都不小。
|
1
banana trees ?
bananas tree ? |
|
2
replies_count(计算回复的次数,至少Dribbble API是这样的风格)。
topicList(List已经有包含很多item的意思了,不需要单独为topic写复数)。 |
|
3
每当遇到这种无关紧要问题的时候,掏出一元钱硬币是最佳的解决方案了。
不过貌似我从来没遇到过这种问题。 topicList => topics replies_count => count_replies (count_likes、count_followers) 我好机灵。 |
|
4
同一类型数据使用同样的前缀
topicList/topics topicInfo 下划线命名看应用,一般都是因为过长而使用驼峰法 |
|
xhackerFeb 13, 2015
5
reply_count, topicList
|
|
6
|