This isn't ideal because it forces users to do more work and forces you to write another validation rule to make sure that they did it correctly.
这种做法不是很理想,因为它要求用户做更多的工作,而且还要求必须要编写另一个验证规则来确保用户能正确输入。
When they do, rule aficionados will say, "Well, we can emend it and make it more supple by adding to the circumstances it covers."
当发生这种情况的时候,爱好制定规则的人们就会说,“好吧,我们可以修订一下规则,让它能适应更多的环境。”
In fact, most make utilities have a rule very much like this built in already; if you ask make to build file.o, and it has file.c, it'll do the right thing.
实际上,大部分make工具都有一个早已内嵌到系统中的与此类似的规则;如果请求make来编译file . o,而且现在已经有file . c文件了,那么它就可以正确地完成编译过程。
应用推荐