Clearly, if I did nothing more, but I took every car, doubled its fuel economy, its emissions would go to 50% of what they are now, no other changes being made.
显然,如果我什么也不做,但是我把没量车的汽油价加倍,汽车废气排放量就会是现在的一半了,别的不会有什么改变。
OK. What happens if you actually have something that's both syntactically correct, and appears to have correct static semantics, and you run it?
好,当你的代码语法,没错误,并且也有正确的静态语义,你去运行它的时候会发生什么呢?
He doesn't name the swan, just as he doesn't name the "rough beast" in "The Second Coming."
他没说这天鹅叫什么,就如在《三贤》《第二次降临》,他也没说粗鄙的野兽的名字“
She says nothing after this encounter, remaining silent or speechless for the rest of the mask, but Milton clearly finds, I think, something threatening here.
在这次相遇中她什么都没说,在接下来中也保持着沉默寡言,可我认为弥尔顿在这里找到了一些威胁。
there were 250 kids who got nothing, who were also studied, 250 kids in the control group.
有另外250个孩子,他们什么也没得到,也列为了研究对象,250名对照组的孩子。
I haven't written a book in this field, so I will not say anything more.
我没写过相关的书,所以我也不好过多评论什么
But now, as I'm looking into the mirror, I don't see anything at all.
但现在,我在镜子中,什么也没看到
So I run this, Enter, and therein lies the nothing.
我运行它,回车,但那里什么也没出现。
Wow, I think we're alright -something needs more regulation here -all these wires.
没弄坏什么吧,我们这里也需要更多监管,地上好多线
For the first three days, they ate nothing.
头三天,他们什么也没吃。
We're not doing any of that.
而我们现在什么也没做。
We learn nothing.
我们什么也没学到。
So I haven't included anything.
所以我什么东西也没装。
Given that that wasn't true, it did nothing.
鉴于这并不是真的,程序什么也没做。
Nothing. OK, so why?
什么也没发生,好吧,那为什么呢?
I move out of the room toward the bathroom, planning to brush my teeth. As I enter the bathroom, it's much more light, I look in the mirror and-- here's where things get really weird--I don't see anything.
我离开卧室走向浴室,要去刷牙,当我走进浴室时,光线明亮了些,我看着镜子,从这里情节就诡异了,我什么也没看到
So this function increment takes nothing, returns nothing, and yet it does something.
所以increment函数不带入参,也不返回值,它也没做什么。
Basic idea, before I even look at the code, is pretty simple. If I've got a list that is sorted, in let's call it, just in increasing order, and I haven't said what's in the list, could be numbers, could be other things, for now, we're going to just assume they're integers.
我们可以说基本的思想是很简单的,如果我有一个排好序的数组,让我们认为这个数组是递增的吧,我并没说数组里元素是什么,可能是数字,也可能是其他的东西,现在我们假设是integer类型的数字吧,最简单的方式就是这么做了:
应用推荐