DEV Community

Discussion on: Is C Most Underrated Programming Language?

Collapse
 
rwalroth profile image
rwalroth

You can implement oop in C, just using a struct and functions which accept a pointer to said struct. You don't get private members or attributes but the same is true of Python

Collapse
 
surajondev profile image
Suraj Vishwakarma

Okay that's something interesting and it will make C more useful.

Collapse
 
nemanajay profile image
Ajay Neman

Implementing oop is not only limited for struct. There are other concept like inheritance,polymorphism, Encapsulation , constructors are also there which we cannot implement in c.