What is the naming convention for boolean returning methods?
在方法前面使用"is"、"has"、"should"、"can"在某些情况下听起来不错,但我不确定.
What is the naming convention for boolean returning methods?
在方法前面使用"is"、"has"、"should"、"can"在某些情况下听起来不错,但我不确定.
Kotlin naming style assumes you use the Java naming conventions to the possible extend. I suggest you use this answer to the same question about Java.
更新:他们发布了编码约定 http://kotlinlang.org/docs/reference/coding-conventions.html个