Alright, so it turns out there're two other useful types that you don't get for free out of the box.
我们还是回到这里,还有两种很有用的数据类型,这两种都不用担心内存不足。
They don't sit in the box for a while and mull it over and then figure out how to do it.
它们并不会坐在迷笼里,思索问题,然后找到解决的方法。
You put some inputs in, it has a contract that says if you put the right kind of inputs in you'll get a specific output coming out, but you don't have to know what's inside of that box.
你可以将输入一些内容,它相当于一个条件合约,如果你的输入是正确的,你就能得到特定的输出,但是你不知道盒子里面有些什么。
In the depressed phase, our thinking is narrow; we don't think outside the box usually-- of course there's many exceptions, but as a whole.
在抑郁阶段,我们的思维收窄;,我们失去创造力-,当然有例外,但总体而言没有。
Of course you guys are savvy enough to know this, but a lot of people get fooled because many people believe that a serving is what's ever in a bag, or a bottle, or a box, and they don't look and see how many servings are actually in it.
大家很聪明,当然看得懂,但还是很多人搞不清它的含义,因为很多人认为所谓一份食物就是指,一包,一瓶或一盒内的食物总量,而没看清整个包装内实际上有几份食物
And conceptually, the idea of cubing a value feels like you could package that up into a little box, a little tool that takes input, a value, and returns output the answer A* so you don't have to constantly do A star, A*A So this program ,at the end of today, is pretty much the same thing.
概念上,算一个值的立方就像是,你可以把一个值打包放在一个小盒子里,一个用来接收输入的工具,一个值,然后返回一个答案,所以你并不需要一直使用,等等。,A,star,,A,,and,so,forth。,这个程序,最后,是一个差不多的东西。
Don't think of it as a specific box into which we're putting things; think of it as a link to a value.
别把它想做是,我们放东西的一个箱子;,把它当做是一个指向值的链接。
应用推荐