determining which verb to use for method names in Java

后端 未结 7 2132
半阙折子戏
半阙折子戏 2021-01-30 23:02

I understand that naming conventions are important for a number of reasons, most having to do with making your code more readable and easier to integrate into larger projects, e

相关标签:
7条回答
  • 2021-01-30 23:26

    Do not forget to use this verbs "is, has or can" for boolean methods, such as: isOn(), isFull(), and so on.

    0 讨论(0)
提交回复
热议问题