assert One of the most important things we do is we use assert statements so that we catch problems early.
要学会利用,声明来早点发现问题。
And so even at really young ages, we want them to be responsible for their own social interactions.
即使是在很小的时候,他们也要学会处理人际关系。
The key thing to notice is, I now have the ability to create iterations, which extends well I can do.
要注意的关键点是,我们现在已经学会如何去创建迭代了,这大大扩展了我们能做的事情的范围。
They go above and beyond to craft a beautiful experience in their store and they have to compromise to accept credit cards.
他们不光要学会,在店里提供美好的体验,他们必须要对,信用卡妥协,接受信用卡。
You need multiple lines of code, you need these days to use something called a scanner class.
你需要写许多代码,你要学会使用扫描仪。
You've got to put yourself in other people's shoes to figure out what they care about and what they're going to try and do, so you can respond well to that.
你要学会换位思考,去分析他们的收益是什么,他们要怎么做,并依此做出回应是很难的
So if we consider lithium, potassium, and sodium, they're all together in the same group on the periodic table, knowing what we do about biology we can immediately think of sodium and potassium, or even just knowing what you know about table salt, for example, that these are two elements that we find, and particularly in the ion form in very high concentrations in our body.
我们来考虑一下锂,钾和钠,它们都在周期表中的同一族里,想要知道我们将元素周期律,用到生物学会怎么样,我们首先想到的就是钠和钾,甚至只需要知道食盐,我们发现它们是以很高浓度的离子形式,存在于我们体内的两种元素。
they need to be able to talk through that problem with their peers.
他们要学会怎样和同龄人沟通解决问题。
Tools in Frost are tricky. You have to learn how to use them.
弗罗斯特所指的工具很狡猾,要去学会分析。
One of the things we want to help you do is identify the different classes of algorithms, what their costs are, and how you can map problems into the most efficient class to do the computation.
我们想要教会你们的事情之一就是,学会辨别不同种类的算法,它们的代价是怎么样的,以及怎么样把问题映射到,最有效的算法种类中去做计算。
One of the things you should begin to do, is to recognize what identifies those classes of algorithms, so you can map your problems into those ranges.
你们现在开始要做的事情之一,就是要学会辨别这些算法,这样你就能为你的问题,选择对应种类的算法了。
Everyone managing to multitask.
每个人都要学会一心多用啊
And it's a topic I want to pick up on today, we're going to do for the next few lectures, and it's a topic I want to spend some time on because this idea of capturing data and methods, the term we're going to use for it, but data and functions that belong to that data, things that can be used to manipulate them, is a really powerful one.
我们会在今天讲这个话题,在后面几节课还会讲这个,这是个我愿意花点时间,在上面的话题因为这是个,捕获数据和方法的思想,我们用这个术语来形容它,数据中包括了数据和函数等,能用来操作它们的东西,真的是很强大的工具,我们真正要讲的东西是,我们要学会如何把信息。
应用推荐