Something like this. That would be perfectly fine interpolation. All right, we choose to have a linear interpolation.
这种插值的方法也是完全可行的,好,现在我们决定使用,线性插值的方案。
I want to just use it, I shouldn't have to worry about what variables I use inside of it, I have shouldn't have to worry about where that is in the code, I should be able to just abstract it away. And that's what we want to add today, are those two things.
我只是想使用它,我不用考虑我在这段代码中,使用的是什么变量,我完全不用考虑代码的内容,只要抽象就好,我们今天想补充的内容就是这两点。
That may be the thing that has the biggest value, because let's say if you have guys in the product development team, and they're using one particular way of doing things, another team is using something completely different, off in another country, somebody's using something different.
它可能是最有价值的,因为如果,产品研发团队,使用某种做事方式,另外一个团队用完全不同的做事方式,在不同国家,做事方式是不同的。
What was--the vaccine you got was produced totally outside of people using recombinant DNA technology.
你们所使用的疫苗是利用完全,脱离于人体外的DNA重组技术生产的
Now that I've written sqrt, I can just use it anywhere I want in the code. You've got to rely on the fact that I wrote it correctly, but you can basically suppress the details of how it's used.
就是忽略细节,既然我已经编写了sqrt函数,我可以在代码的任何地方使用它,你完全可以依靠,我已经编写的这个函数。
应用推荐