WEBVTT

00:00:00.790 --> 00:00:03.190
The following content is
provided under a Creative

00:00:03.190 --> 00:00:04.730
Commons license.

00:00:04.730 --> 00:00:07.030
Your support will help
MIT OpenCourseWare

00:00:07.030 --> 00:00:11.390
continue to offer high quality
educational resources for free.

00:00:11.390 --> 00:00:13.990
To make a donation or
view additional materials

00:00:13.990 --> 00:00:17.870
from hundreds of MIT courses,
visit MIT OpenCourseWare

00:00:17.870 --> 00:00:19.120
at ocw.mit.edu.

00:00:22.499 --> 00:00:24.040
PROFESSOR: So, which
of the following

00:00:24.040 --> 00:00:28.820
is a good and valid definition
for a class representing a car?

00:00:28.820 --> 00:00:31.790
OK, most of the people
I think have gotten it,

00:00:31.790 --> 00:00:35.570
which is the red, which
says class car object,

00:00:35.570 --> 00:00:37.180
and that's perfect.

00:00:37.180 --> 00:00:38.020
OK.

00:00:38.020 --> 00:00:41.750
So this defines a function,
this defines a class correctly,

00:00:41.750 --> 00:00:45.190
but A is just not
descriptive name at all,

00:00:45.190 --> 00:00:48.957
and this is kind of weird, and
this is the right one here.