| ▲ | marcosdumay 4 hours ago | |
It's older than C. But yes, C does module encapsulation. C is capable enough to program in a way that is basically OOP and without using non-idiomatic code. The C++ object system wasn't created in a vacuum. | ||
| ▲ | 1718627440 3 hours ago | parent [-] | |
I like programming OOP in C, because everything is explicit and you can seamlessly transit between different paradigms, and you can be actually creative with inheritance, which is something you can't do when your vtables are created automatically. | ||