When is a function name too long?

后端 未结 27 2030
伪装坚强ぢ
伪装坚强ぢ 2021-02-03 18:45

I try to be rather descriptive with my function names, where possible. This occasionally results in function names in the twenty to thirty character range such as \"GetActionFr

27条回答
  •  渐次进展
    2021-02-03 18:48

    A function name is too long when it starts to either over-describe what it does, or when it hinders readability of the code.

提交回复
热议问题