Category Archives: Software Development

Is C an Object Oriented Language?

C is a powerful and complex language that gives the programmer fine-grained control over memory management. However, the original question is:
can we transform the C language into an object-oriented language without modifying the compiler?
And the answer is: YES, we can.

Of course, we will not get the full power of C++. We cannot directly specify
private / public / protected members, inheritance hierarchies, or other advanced features available in C++.
What we can do is create interface-like structures and bind functions to them at runtime.

Continue reading Is C an Object Oriented Language?