如果您只编写足够通过测试的代码,而不写多余的代码会怎样?
What if you only wrote enough code to get the test to pass, and no more?
如果能够通过通知而不是通过API提供服务,那么就可以减少开发人员在这些服务上的工作量。
If you can offer services as advice rather than through APIs, you minimize the work developers have to do for those services.
如果另一个过程没有通过缓存而更改了底层数据,那么会出现问题。
If another process changes the underlying data without going through the cache, that is a problem.
Then later on, if I wish, I can establish a canon by saying certain texts have certain significance and those are the texts that I care about and want to read, but I can only do that if I can distinguish between meaning and significance.
而后来,如果我希望,我可以通过说什么来树立一个标准,比如说,一些作品有固定意义,因此我只关心只想读那些作品,但是我只有,能够分清意思和意义之后,才能那样做。
应用推荐