Aan
Aan

Reputation: 12890

Why both are called object?

Is there any relationship between the term object as an output of compiling/assembling (like:Shared Object files) and object as in OOP languages (an instance of a class). Why both are called object? What is the term object in computer science and how it can be used?

Upvotes: 0

Views: 42

Answers (1)

cottonke
cottonke

Reputation: 129

No ... there is no relationship between these things. The word object is overloaded in every aspect of English and software is not an exception.

The object file (.o file) is called this only because that is what it has been called for 40+ years (See Here); well before the idea of object oriented programming (OOP). OOP is called as such because it is a programming style which groups ideas/functionalities into objects (See Here).

Upvotes: 3

Related Questions