What is Objective-C and what is used for

hen we talk about Objective-C, those who are not familiar with this topic will probably not understand much, in this article we will try to explain all about related to Objective-C.

What is Objective-C

Objective-C is an object-oriented programming language created as a superset of C to implement an object model similar to Smalltalk. It was originally created by Brad Cox and the StepStone corporation in 1980. In 1988 it was adopted as the programming language of NEXTSTEP and in 1992 was released under license GPL for the compiler GCC. It is currently used as the main programming language for Mac OS X, iOS and GNUstep, in addition, swift.

History Of Objective-C Language

In the early 1980s, the software was developed using structured programming. Structured programming was established to help divide the programs into smaller parts, making development easier when the application became very large. However, as problems continued to grow over time, structured programming became complex given the disorder of some programmers to invoke instructions repetitively, leading to spaghetti code and hindering the reuse of code.

Many saw that object-oriented programming would be the solution to the problem. In fact, Smalltalk already solved many of these problems: some of the most complex systems in the world worked thanks to Smalltalk. But Smalltalk used a virtual machine, which required a lot of memory for that time, and it was too slow.

Objective-C was created primarily by Brad Cox and Tom Love in the early ’80s at his company Stepstone. Both were initiated in Smalltalk while they were in the Programming Technology Center of ITT in 1981. Cox was interested in problems of reuse in software development. He realized that a language like Smalltalk would be essential in building powerful development environments for developers at ITI Corporation. Cox started modifying the C compiler to add some of the capabilities of Smalltalk. Soon he had an extension to add object-oriented programming to C which he called “OOPC” ( Object-Oriented Programming in C). Love meanwhile, was hired by Schlumberger Research in 1982 and had the opportunity to acquire the first copy of Smalltalk-80, which influenced his style as a programmer.

To demonstrate that real progress was made, Cox showed that to make truly interchangeable software components, only small changes to existing tools were needed. Specifically, they needed to support objects flexibly, come with a set of libraries that were usable, and allow the code (and any resources needed by the code) to be packaged in a multiplatform format.

Cox and Love then founded a new company, Productivity Products International (PPI), to market their product, which was an Objective-C compiler with a set of powerful libraries.

In 1986, Cox published the main description of Objective-C in its original form in the book Object-Oriented Programming, An Evolutionary Approach. Although he was careful to point out that there are many reuse problems that do not depend on language, Objective-C was often compared in detail with other languages

Also Read:

  1. What is C Programming Language
  2. What is C# | C# Programming Language beginner 

3 thoughts on “What is Objective-C and what is used for

Leave a Reply

Your email address will not be published. Required fields are marked *