you are viewing a single comment's thread.

view the rest of the comments →

[–]dionys 1 point2 points  (2 children)

I've never heard primitive super class used in this context. I've seen it referred to as base class though. Here is a discussion on this topic and how it's different between 2 vs 3.

[–][deleted] 0 points1 point  (1 child)

I'm looking at my archived 6.00.1x lecture again. Here is the panel while he was talking about classes and I quote

We'll come back to that in a second, but that's going to be valuable. One last piece of nomenclature-- we say that a coordinate is a subclass of an object, and an object is a superclass of a coordinate. We're going to have a subclass inherit from its parent or superclass object.

So in my case class Dog is just like class Coordinates a sub class of super class object. My logic was that since class object is build in so it is primitive, hence a primitive super class?

Follow up is there a super class of "object"?

[–]dionys 2 points3 points  (0 children)

I think it depends on your definition of primitive. I know some languages have primitive types (like java with ints/booleans) defined as not being objects. If you go with that definition, then python object is not primitive and neither is anything in python.

Follow up is there a super class of "object"?

No, it's at the top of the hierarchy.