And just as with variables, you should use some common sense, some style here, and the function's name should X Y communicate what it does, calling it X or Y or Z is generally not all that helpful.
就像变量,你使用一些常识,一些类型,和函数名需要,传达它所做的事情,把它叫做,或者Z通常是没有什么用处的。
It adds x to y and stores it into z. But if someone wants to be a even a little more snarky, what does this program do?
它把x加上y,再把结果存到z中,但是如果有人,想要做的有点不合常理点呢,那这个程序会做什么?
应用推荐