Before moving on to the next phase, it makes sense to write a small function that tells you who the current user is already following.
在进入下一个阶段之前,还需要编写一个小函数,该函数将返回当前用户正在追随的用户。
The first step before reusing anything, even a small function, is to check its documentation to see if there's a security warning about it.
开始重用任何组件之前,即使是很小的一个函数,我们要执行的第一个步骤都是检查这个组件的文档,从而了解其中是否提及了安全性警告。
This may seem tedious and a bit of overkill for such a small function, but the value of the comments to a novice shell scripter or someone just looking at the function can be invaluable.
对于这么小的函数,这似乎太麻烦了,甚至有点过分,但是对于shell脚本编程新手和阅读这个函数的人员而言,注释是非常有价值的。
This may seem tedious and a bit of overkill for such a small function, but the value of the comments to a novice shell scripter or someone just looking at the function can be invaluable.
对于这么小的函数,这似乎太麻烦了,甚至有点过分,但是对于shell脚本编程新手和阅读这个函数的人员而言,注释是非常有价值的。
应用推荐