引用代替保管 CILC
用类代替类型码 ReplaceType Code with Class
用字段代替子类 Replace Subclass with Fields
用方法代替参数 Replace Parameter with Method
用测试代替异常 Replace Exception with Test
用委托代替继承 Replace Inheritance with Delegation
用对象代替数组 Replace Array with Object
用子类代替类型码 Replace Type Code with Subclasses
用异常代替错误码 Replace Error Code with Exception
用数据类代替记录 Replace Record with Data Class
如果你找不到自发面粉,可以用普通面粉来代替。
You can substitute plain flour if you cannot find self-raising flour.
这道食谱可以用牛奶代替奶油。
用图片代替语言来讲述故事可能会收到更好的教育效果。
There is a potential educational benefit in allowing pictures to tell the story, rather than the spoken word.
They thought, for example, if you could do something with one element, if you looked at an element very close to it, it would be similar enough that you could maybe replace it with that.
他们认为,比如,用一种元素可以做的,用它邻近的元素,代替它的位置,也应该能做到。
Take the fattest marking pen you have, scratch that out and replace it with atomic hydrogen.
用你最粗的笔把它划掉,再用氢原子代替它。
I'm just doing it with a series of switches instead of a fingerboard, which we obviously don't have-- Okay. That's fine. That's great.
只是我用的是阀键,代替圆号上很明显没有的指板,好的,很棒
应用推荐