• Data's what we expect. It's our way of representing fundamentally the kinds of information we want to move around.

    数据是我们一直需要的,它是用来表达我们想要操作的,数据类型的基本方式,这里。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • We saw, associated with that primitive data, we have ways of taking data in and creating new kinds of data out, or new versions of data out, so we have operations.

    我们可以取得输入的数据然后,创建新的类型的输出数据,或者新的版本的输出数据,这就是我们说的操作

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And if you've ever heard the word driver software that you install in your computer so that your computer, your operating system, Windows or Mac OS, knows how to talk to that piece of hardware, it's that driver software that then empowers the operating systems to send those commands as well, up, the data is laid out on the disk.

    并且如果你听说过安装到,电脑中的驱动软件这个词的话,你的操作系统,比如Windows或者是苹果操作系统,通过这个驱动软件我们的电脑,才能知道如何与这个硬件进行通信,正是因为这个驱动软件,操作系统才能根据数据,左右移动的指令来读取磁盘里的数据

    哈佛公开课 - 计算机科学课程节选

  • And the second thing we're going to need, is we're going to need a way to give instructions to the computer to manipulate that data.

    我们需要的第二件事情是,我们需要一种,能给予计算机指令,以操作数据的方式。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • And if you think about it, associated with each - one of those data types is a set of functions it's intended to apply to.

    你会发现每个类型都有,与之对应的一个集合的操作,有的时候这些操作,有的时候某个操作可以,应用于多种数据类型。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • In particular functions that operate on the data, perhaps on other data as well. The key idea here is to bind together the data and the functions that operate on that data as a single thing.

    特别是处理数据的函数,也可能处理其他数据,这里的关键思想就是,将函数和操作数据的函数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • 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.

    我们会在今天讲这个话题,在后面几节课还会讲这个,这是个我愿意花点时间,在上面的话题因为这是个,捕获数据和方法的思想,我们用这个术语来形容它,数据中包括了数据和函数等,能用来操作它们的东西,真的是很强大的工具,我们真正要讲的东西是,我们要学会如何把信息。

    麻省理工公开课 - 计算机科学及编程导论课程节选

  • Sometimes the functions -- sometimes a function can be used on multiple data types, plus, for example, we saw could add strings, or could add ints, but each one of those data types has associated with it a set of functions that are geared to handling them.

    比如说,我们可以对string类型,进行add操作,也可以对int类型进行这个操作,但是这些数据类型中的每一种,都与适合于操作它们的,方法集相关联,我们想对我们创建的数据,类型做同样的事情。

    麻省理工公开课 - 计算机科学及编程导论课程节选

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定