What makes a language Object-Oriented?

后端 未结 15 2223
无人共我
无人共我 2020-12-07 17:01

Since debate without meaningful terms is meaningless, I figured I would point at the elephant in the room and ask: What exactly makes a language \"object-oriented\"? I\'m no

15条回答
  •  孤街浪徒
    2020-12-07 17:17

    As far as I can tell, the main view of what makes a language "Object Oriented" is supporting the idea of grouping data, and methods that work on that data, which is generally achieved through classes, modules, inheritance, polymorphism, etc.

    See this discussion for an overview of what people think (thought?) Object-Orientation means.

    As for the "archetypal" OO language - that is indeed Smalltalk, as Kristopher pointed out.

提交回复
热议问题