So if you wanna do something conditionally, you generally needs to ask the question, is the following true or false.
假如想在一定条件下做一件事情,你需要判断下这个条件,来看看条件是真还是假。
How many steps does it take for this function to run? Well, you can kind of look at it, right?
这个方法运行了多少补?,你可以看看代码?
But it turns out that on Macs and if you have the right software on PCs, you can kind of get a teaser of what this environment tends to look like and be forewarned, what you're about to see is intentionally very underwhelming.
事实上,它是运行在苹果机上的,如果你在电脑上有正确的软件,可以去看看这个环境大致是怎么样的,提前说下,这个程序不会让你印象深刻,我是故意这样做的。
There's the Diet Code, this is the weight loss secrets of Leonardo Da Vinci, and you probably didn't know this, but see?
还有减肥密码,这是达芬奇的减肥秘诀,你可能并不知道这个,我们来看看
Now, if this all seems like arcane and irrelevant detail, let's just see why this matters in the picture, and then we'll leave soccer, at least for today.
如果你觉得这些听起来稀奇古怪,且它们与你毫不相干,那我们就来看看这个图像吧,以后我们不讨论足球了,至少今天是不会讨论了
You can see that on this one.
你可以看看这个。
That is if I can write code that would solve all instances of smaller size strings, then what I just described isPalindrome will solve the larger size one.
然后我会描述如何处理大字符串,事实上这正是我所做的,我希望你能看看这边的这段代码,就是这个。
And in fact, if you look down- and I'm just going to highlight this portion, I'm not going to run it- but if you look down here, that's exactly what that does.
实际上,如果你往下看-,我正要强调这一部分,我不会去运行它-,但是如果你看看这儿的话,这个方法确实就是这么做的。
They build them, they do what if games, they play with them, and then they try and adjust them to get them right The nice thing here is, you can decide whether you believe momentum and see what it would mean, or not mean, etc.
他们实现建立程序,他们去做“要是“游戏,他们不断尝试,然后他们不断调整最终得到正确结果,最好的一件事就是,你可以决定你是否相信这个股票势头,看看它到底意味着什么或根本没有意义。
应用推荐