They just want to get the right answer, and if part of the right answer has already been discovered by someone else, that's no reason not to use it.
他们一心想得到正确的答案,因此如果正确答案的某些部分已经被人发现了,那么没有理由不用它。
Someone else has already done the work so just use their code.
别人早都做过这些工作了,拿来用就好了么。
Now I, or someone else might forget the leading or trailing slash and some Windows user might use back slashes instead of regular slashes, so I decided to just handle that in the script.
现在,我(或者别的什么人)可能忘记了前导斜杠或末尾斜杠,而一些Windows用户可能使用反斜杠而不是正斜杠,因此我决定在脚本中对此进行处理。
应用推荐